diff --git a/modules/security/azure-security-center/main.bicep b/modules/security/azure-security-center/main.bicep index e1f9fbcab4..d0adb8211a 100644 --- a/modules/security/azure-security-center/main.bicep +++ b/modules/security/azure-security-center/main.bicep @@ -191,6 +191,7 @@ resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (ena } } +@batchSize(1) resource pricingTiers 'Microsoft.Security/pricings@2018-06-01' = [for (pricing, index) in pricings: { name: pricing.name properties: { diff --git a/modules/security/azure-security-center/main.json b/modules/security/azure-security-center/main.json index cf4fce1f0b..757ee94252 100644 --- a/modules/security/azure-security-center/main.json +++ b/modules/security/azure-security-center/main.json @@ -5,7 +5,7 @@ "_generator": { "name": "bicep", "version": "0.22.6.54827", - "templateHash": "5337788890835022528" + "templateHash": "6628258573559470770" }, "name": "Azure Security Center (Defender for Cloud)", "description": "This module deploys an Azure Security Center (Defender for Cloud) Configuration.", @@ -289,7 +289,9 @@ { "copy": { "name": "pricingTiers", - "count": "[length(variables('pricings'))]" + "count": "[length(variables('pricings'))]", + "mode": "serial", + "batchSize": 1 }, "type": "Microsoft.Security/pricings", "apiVersion": "2018-06-01",