From 3ecf36594f1b84b0b4c1fa2076890f61f1ae0f0a Mon Sep 17 00:00:00 2001 From: Jack Tracey <41163455+jtracey93@users.noreply.github.com> Date: Fri, 15 Sep 2023 11:47:54 +0100 Subject: [PATCH] add dependsOn for vnet for VHC --- src/self/subResourceWrapper/deploy.bicep | 1 + 1 file changed, 1 insertion(+) diff --git a/src/self/subResourceWrapper/deploy.bicep b/src/self/subResourceWrapper/deploy.bicep index 10980aa3..3eea78f4 100644 --- a/src/self/subResourceWrapper/deploy.bicep +++ b/src/self/subResourceWrapper/deploy.bicep @@ -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