diff --git a/internal/services/monitor/monitor_diagnostic_setting_resource_test.go b/internal/services/monitor/monitor_diagnostic_setting_resource_test.go index 537caa08daf0..b0d910a18aa1 100644 --- a/internal/services/monitor/monitor_diagnostic_setting_resource_test.go +++ b/internal/services/monitor/monitor_diagnostic_setting_resource_test.go @@ -207,9 +207,11 @@ resource "azurerm_monitor_diagnostic_setting" "test" { metric { category = "AllMetrics" + enabled = true retention_policy { enabled = false + days = 7 } } }