Skip to content

Commit

Permalink
add dependsOn for vnet for VHC
Browse files Browse the repository at this point in the history
  • Loading branch information
jtracey93 authored Sep 15, 2023
1 parent 1854887 commit 3ecf365
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/self/subResourceWrapper/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ module createLzVnet '../../carml/v0.6.0/Microsoft.Network/virtualNetworks/deploy
module createLzVirtualWanConnection '../../carml/v0.6.0/Microsoft.Network/virtualHubs/hubVirtualNetworkConnections/deploy.bicep' = if (virtualNetworkEnabled && virtualNetworkPeeringEnabled && !empty(virtualHubResourceIdChecked) && !empty(virtualNetworkName) && !empty(virtualNetworkAddressSpace) && !empty(virtualNetworkLocation) && !empty(virtualNetworkResourceGroupName) && !empty(virtualWanHubResourceGroupName) && !empty(virtualWanHubSubscriptionId)) {
dependsOn: [
createResourceGroupForLzNetworking
createLzVnet
]
scope: resourceGroup(virtualWanHubSubscriptionId, virtualWanHubResourceGroupName)
name: deploymentNames.createLzVirtualWanConnection
Expand Down

0 comments on commit 3ecf365

Please sign in to comment.