From c3403f1a5a8e2feee8f378874e9edd583ff76ed5 Mon Sep 17 00:00:00 2001 From: Jack Tracey <41163455+jtracey93@users.noreply.github.com> Date: Wed, 30 Nov 2022 07:23:56 +0000 Subject: [PATCH] change var to build conditional on (#407) --- .../assignments/alzDefaults/alzDefaultPolicyAssignments.bicep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: {