Skip to content

Commit

Permalink
Fixes #517 by making the deployment name for the recently added modul…
Browse files Browse the repository at this point in the history
…e unique on the zones resource ID (#518)
  • Loading branch information
jtracey93 authored May 3, 2023
1 parent 5badfdd commit ad33c27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad33c27

Please sign in to comment.