From 3bd6855721a2bda48898ffd2e80fb95a51f699f4 Mon Sep 17 00:00:00 2001 From: Stef Piatek Date: Mon, 18 Sep 2023 14:52:00 +0100 Subject: [PATCH] Use log analytics retention policy for diagnostics --- apps/app/monitoring.tf | 8 -------- 1 file changed, 8 deletions(-) diff --git a/apps/app/monitoring.tf b/apps/app/monitoring.tf index db5ccde7..62b4adba 100644 --- a/apps/app/monitoring.tf +++ b/apps/app/monitoring.tf @@ -24,10 +24,6 @@ resource "azurerm_monitor_diagnostic_setting" "logs_and_metrics" { content { category = enabled_log.value - - retention_policy { - enabled = true - } } } @@ -36,10 +32,6 @@ resource "azurerm_monitor_diagnostic_setting" "logs_and_metrics" { content { category = metric.value - - retention_policy { - enabled = true - } } } }