From a2908e6b7db069b000b71a81b05e56bd1755f9b9 Mon Sep 17 00:00:00 2001 From: Jason Masten Date: Wed, 20 Sep 2023 13:34:38 -0400 Subject: [PATCH] Removed retention policy --- .../Microsoft.Automation/automationAccounts/deploy.bicep | 8 -------- 1 file changed, 8 deletions(-) diff --git a/carml/1.3.0/Microsoft.Automation/automationAccounts/deploy.bicep b/carml/1.3.0/Microsoft.Automation/automationAccounts/deploy.bicep index 92e547bdd..70ea99007 100644 --- a/carml/1.3.0/Microsoft.Automation/automationAccounts/deploy.bicep +++ b/carml/1.3.0/Microsoft.Automation/automationAccounts/deploy.bicep @@ -128,20 +128,12 @@ var enableReferencedModulesTelemetry = false var diagnosticsLogsSpecified = [for category in filter(diagnosticLogCategoriesToEnable, item => item != 'allLogs'): { category: category enabled: true - retentionPolicy: { - enabled: true - days: diagnosticLogsRetentionInDays - } }] var diagnosticsLogs = contains(diagnosticLogCategoriesToEnable, 'allLogs') ? [ { categoryGroup: 'allLogs' enabled: true - retentionPolicy: { - enabled: true - days: diagnosticLogsRetentionInDays - } } ] : diagnosticsLogsSpecified