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 8f5a79f61..81cb37593 100644 --- a/infra-as-code/bicep/modules/policy/assignments/alzDefaults/alzDefaultPolicyAssignments.bicep +++ b/infra-as-code/bicep/modules/policy/assignments/alzDefaults/alzDefaultPolicyAssignments.bicep @@ -878,7 +878,7 @@ module modPolicyAssignmentLzsDenyDataBVnet '../../../policy/assignments/policyAs } // Module - Policy Assignment - Deploy-Private-DNS-Zones -module modPolicyAssignmentConnDeployPrivateDnsZones '../../../policy/assignments/policyAssignmentManagementGroup.bicep' = if (!empty(varPrivateDnsZonesBaseResourceId)) { +module modPolicyAssignmentConnDeployPrivateDnsZones '../../../policy/assignments/policyAssignmentManagementGroup.bicep' = if (!empty(varPrivateDnsZonesResourceGroupSubscriptionId)) { scope: managementGroup(varManagementGroupIds.landingZonesCorp) name: varModuleDeploymentNames.modPolicyAssignmentLzsDeployPrivateDnsZones params: {