Skip to content

Commit

Permalink
unique peering name deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
xpillons committed Apr 4, 2024
1 parent 3e45b92 commit 3235c80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bicep/mainTemplate.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module azhopDeployment './azhop.bicep' = {

var vnetPeerings = contains(azhopConfig.network, 'peering') ? azhopConfig.network.peering : []
module azhopPeerings './vnetpeering.bicep' = [ for peer in vnetPeerings: {
name: 'peer_from${peer.vnet_name}'
name: 'peer_from${peer.vnet_name}_${guid(azhopResourceGroup.id)}'
scope: resourceGroup(peer.vnet_resource_group)
params: {
name: '${azhopConfig.resource_group}_${azhopConfig.network.vnet.name}'
Expand Down

0 comments on commit 3235c80

Please sign in to comment.