Skip to content

Commit

Permalink
forgotten condition (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordon Byers authored Mar 30, 2023
1 parent 161d31d commit d8eb8e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bicep/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -1603,7 +1603,7 @@ resource sysLog 'Microsoft.Insights/dataCollectionRules@2021-09-01-preview' = if
}
}

resource association 'Microsoft.Insights/dataCollectionRuleAssociations@2021-09-01-preview' = {
resource association 'Microsoft.Insights/dataCollectionRuleAssociations@2021-09-01-preview' = if (createLaw && omsagent && enableSysLog) {
name: '${aks.name}-${aks_law.name}-association'
scope: aks
properties: {
Expand Down

0 comments on commit d8eb8e3

Please sign in to comment.