File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 23
23
"type" : " String"
24
24
}
25
25
},
26
- "variables" : {},
26
+ "variables" : {
27
+ "ipName" : " [concat(parameters('clusterName'), '-ip')]" ,
28
+ "ipId" : " [resourceId('Microsoft.Network/publicIPAddresses/', variables('ipName'))]"
29
+ },
27
30
"resources" : [
28
31
{
29
32
"type" : " Microsoft.Network/publicIPAddresses" ,
30
- "name" : " [concat(parameters('clusterName'), '-ip ')]" ,
33
+ "name" : " [variables('ipName ')]" ,
31
34
"apiVersion" : " 2016-03-30" ,
32
35
"location" : " [resourceGroup().location]" ,
33
36
"properties" : {
51
54
"name" : " loadBalancerFrontEnd" ,
52
55
"properties" : {
53
56
"publicIPAddress" : {
54
- "id" : " [parameters ('ipId')]"
57
+ "id" : " [variables ('ipId')]"
55
58
}
56
59
}
57
60
}
203
206
}
204
207
}
205
208
]
206
- }
209
+ },
210
+ "dependsOn" : [
211
+ " [variables('ipId')]"
212
+ ]
207
213
}
208
214
]
209
215
}
You can’t perform that action at this time.
0 commit comments