From 00a8d9f6d9c93eae50b72c5bae22929bec87b73b Mon Sep 17 00:00:00 2001 From: Archit Chopra Date: Thu, 12 Sep 2024 18:15:42 +0530 Subject: [PATCH] fix: Removed tf lints warning --- examples/main.tf | 4 ++-- variables.tf | 12 ------------ 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/examples/main.tf b/examples/main.tf index e083584..d9d2c3b 100644 --- a/examples/main.tf +++ b/examples/main.tf @@ -1,6 +1,6 @@ provider "azurerm" { features {} - subscription_id = "068245d4-3c94-42fe-9c4d-9e5e1cabc60c" + subscription_id = "000000-11111-1223-XXX-XXXXXXXXXXXX" } locals { @@ -14,7 +14,7 @@ module "resource_group" { version = "1.0.2" name = local.name environment = local.environment - location = "Canada Central" + location = local.location } ##----------------------------------------------------------------------------- diff --git a/variables.tf b/variables.tf index d60717f..b32799f 100644 --- a/variables.tf +++ b/variables.tf @@ -36,12 +36,6 @@ variable "enabled" { description = "Set to false to prevent the module from creating any resources." } -variable "tags" { - type = map(string) - default = {} - description = "A map of tags to add to all resources" -} - variable "sentinel_enabled" { type = bool default = true @@ -54,12 +48,6 @@ variable "log_analytics_workspace_id" { description = "The ID of the Log Analytics Workspace this Sentinel MS Security Incident Alert Rule belongs to. Changing this forces a new Sentinel MS Security Incident Alert Rule to be created." } -variable "sentinel_workspace_name" { - type = string - default = "" - description = "The name which should be used for this Sentinel MS Security Incident Alert Rule. Changing this forces a new Sentinel MS Security Incident Alert Rule to be created." -} - variable "product_filter" { type = list(string) default = ["Microsoft Cloud App Security"]