From ecf9218f88f3f6006e2c4a8d6a449d43ab8c5402 Mon Sep 17 00:00:00 2001 From: Leonard Sheng Sheng Lee Date: Tue, 26 Sep 2023 13:16:17 +0200 Subject: [PATCH] fix: deprecated retention policy --- main.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.tf b/main.tf index 196feb5..37bb5a2 100644 --- a/main.tf +++ b/main.tf @@ -26,9 +26,9 @@ resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting" { # Learn more information on the deprecation [in the Azure documentation](https://aka.ms/diagnostic_settings_log_retention). # https://github.com/hashicorp/terraform-provider-azurerm/pull/23260 # https://github.com/hashicorp/terraform-provider-azurerm/issues/23051 - retention_policy { - enabled = true - } + # retention_policy { + # enabled = true + # } } }