diff --git a/infra-as-code/bicep/modules/policy/assignments/alzDefaults/alzDefaultPolicyAssignments.bicep b/infra-as-code/bicep/modules/policy/assignments/alzDefaults/alzDefaultPolicyAssignments.bicep index cc7bac20c..4d5debeb8 100644 --- a/infra-as-code/bicep/modules/policy/assignments/alzDefaults/alzDefaultPolicyAssignments.bicep +++ b/infra-as-code/bicep/modules/policy/assignments/alzDefaults/alzDefaultPolicyAssignments.bicep @@ -99,7 +99,7 @@ param parDdosProtectionPlanId string = '' param parPrivateDnsResourceGroupId string = '' @description('Location of Private DNS Zones.') -param parPrivateDnsZonesLocation string = 'eastus' +param parPrivateDnsZonesLocation string @description('List of Private DNS Zones to audit under the Corp Management Group. This overwrites default values.') param parPrivateDnsZonesNamesToAuditInCorp array = [] @@ -595,7 +595,7 @@ var varGeoCodes = { westus3: 'wus3' } -var varSelectedGeoCode = varGeoCodes[?parPrivateDnsZonesLocation] ?? 'changeme' +var varSelectedGeoCode = varGeoCodes[?parPrivateDnsZonesLocation] var varPrivateDnsZonesFinalResourceIds = { azureAcrPrivateDnsZoneId: '${varPrivateDnsZonesBaseResourceId}privatelink.azurecr.io'