From b3d29a55ff2c74042f80cb1c5ead2fd227dbe78a Mon Sep 17 00:00:00 2001 From: vaibhav Date: Mon, 16 Sep 2024 22:31:17 +0530 Subject: [PATCH] fix: fix main.tf error and removed duplicate variables --- main.tf | 2 ++ variables.tf | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/main.tf b/main.tf index 285b44e..4a56b20 100644 --- a/main.tf +++ b/main.tf @@ -284,3 +284,5 @@ resource "azurerm_monitor_diagnostic_setting" "firewall_diagnostic-setting" { days = var.retention_days } } + +} diff --git a/variables.tf b/variables.tf index f116a91..7cc58c7 100644 --- a/variables.tf +++ b/variables.tf @@ -208,11 +208,6 @@ variable "log_analytics_workspace_id" { description = "log analytics workspace id to pass it to destination details of diagnosys setting of NSG." } -variable "retention_policy_enabled" { - type = bool - default = false - description = "Set to false to prevent the module from creating retension policy for the diagnosys setting." -} variable "days" { type = number