diff --git a/infra-as-code/bicep/orchestration/hubPeeredSpoke/hubPeeredSpoke.bicep b/infra-as-code/bicep/orchestration/hubPeeredSpoke/hubPeeredSpoke.bicep index b8ae0c247..5086a3b77 100644 --- a/infra-as-code/bicep/orchestration/hubPeeredSpoke/hubPeeredSpoke.bicep +++ b/infra-as-code/bicep/orchestration/hubPeeredSpoke/hubPeeredSpoke.bicep @@ -162,7 +162,7 @@ module modSpokeNetworking '../../modules/spokeNetworking/spokeNetworking.bicep' // Module - Private DNS Zone Virtual Network Link to Spoke module modPrivateDnsZoneLinkToSpoke '../../modules/privateDnsZoneLinks/privateDnsZoneLinks.bicep' = [for zones in parPrivateDnsZoneResourceIds: if (!empty(parPrivateDnsZoneResourceIds)) { scope: resourceGroup(split(zones, '/')[1], split(zones, '/')[4] ) - name: varModuleDeploymentNames.modPrivateDnsZoneLinkToSpoke + name: take('${varModuleDeploymentNames.modPrivateDnsZoneLinkToSpoke}-${uniqueString(zones)}', 64) params: { parPrivateDnsZoneResourceIds: parPrivateDnsZoneResourceIds parSpokeVirtualNetworkResourceId: modSpokeNetworking.outputs.outSpokeVirtualNetworkId