Skip to content

Commit aa24a35

Browse files
jacobb42vikasnav
authored andcommitted
Add public IP dependencies (#196)
Add dependencies to public IPs for NICs which use them
1 parent 494a42e commit aa24a35

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

rds-deployment-existing-ad/azuredeploy.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@
195195
"name": "gw-nic",
196196
"location": "[resourceGroup().location]",
197197
"dependsOn": [
198-
"Microsoft.Network/loadBalancers/loadBalancer"
198+
"Microsoft.Network/loadBalancers/loadBalancer",
199+
"[concat('Microsoft.Network/publicIPAddresses/',variables('gatewayIpRef'))]"
199200
],
200201
"properties": {
201202
"ipConfigurations": [
@@ -238,7 +239,8 @@
238239
"name": "cb-nic",
239240
"location": "[resourceGroup().location]",
240241
"dependsOn": [
241-
"Microsoft.Network/loadBalancers/loadBalancer"
242+
"Microsoft.Network/loadBalancers/loadBalancer",
243+
"[concat('Microsoft.Network/publicIPAddresses/',variables('brokerIpRef'))]"
242244
],
243245
"properties": {
244246
"ipConfigurations": [
@@ -545,4 +547,4 @@
545547
}
546548
}
547549
]
548-
}
550+
}

0 commit comments

Comments
 (0)