mirror of https://github.com/OpenVidu/openvidu.git
openvidu-deployment: azure - bugfix: added dependsOn to remove possible race condition
parent
ce610cab03
commit
9728d966ad
|
@ -2111,6 +2111,9 @@ resource subnetMasterNode2 'Microsoft.Network/virtualNetworks/subnets@2023-11-01
|
||||||
id: natGateway.id
|
id: natGateway.id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
dependsOn: [
|
||||||
|
subnetMasterNode1
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
resource netInterfaceMasterNode1 'Microsoft.Network/networkInterfaces@2023-11-01' = {
|
resource netInterfaceMasterNode1 'Microsoft.Network/networkInterfaces@2023-11-01' = {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"_generator": {
|
"_generator": {
|
||||||
"name": "bicep",
|
"name": "bicep",
|
||||||
"version": "0.36.1.42791",
|
"version": "0.36.1.42791",
|
||||||
"templateHash": "3547117393656361477"
|
"templateHash": "1254853653132773989"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": {
|
"parameters": {
|
||||||
|
@ -1349,6 +1349,7 @@
|
||||||
},
|
},
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"[resourceId('Microsoft.Network/natGateways', format('{0}-natGateway', parameters('stackName')))]",
|
"[resourceId('Microsoft.Network/natGateways', format('{0}-natGateway', parameters('stackName')))]",
|
||||||
|
"[resourceId('Microsoft.Network/virtualNetworks/subnets', variables('networkSettings').vNetName, 'firstSubnetForMasterNodes')]",
|
||||||
"[resourceId('Microsoft.Network/virtualNetworks', variables('networkSettings').vNetName)]"
|
"[resourceId('Microsoft.Network/virtualNetworks', variables('networkSettings').vNetName)]"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue