Skip to content

Commit b432fc4

Browse files
committed
more template fixes
1 parent 12a3b51 commit b432fc4

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

nestedtemplates/internal-lb.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"resources": [
2424
{
2525
"type": "Microsoft.Network/loadBalancers",
26-
"name": "[variables('lbName')]",
26+
"name": "[parameters('lbName')]",
2727
"apiVersion": "2015-06-15",
2828
"location": "[resourceGroup().location]",
2929
"properties": {

nestedtemplates/network-resources.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{
2222
"type": "Microsoft.Network/virtualNetworks",
2323
"name": "[parameters('vnetName')]",
24-
"apiVersion": "2015-06-15",
24+
"apiVersion": "2016-03-30",
2525
"location": "[resourceGroup().location]",
2626
"tags": {},
2727
"properties": {

template.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,9 @@
111111
},
112112
"resources": [
113113
{
114-
"type": "Microsoft.Network/virtualNetworks",
114+
"type": "Microsoft.Resources/deployments",
115115
"name": "[parameters('vnetName')]",
116-
"location": "[resourceGroup().location]",
117-
"apiVersion": "2015-06-15",
116+
"apiVersion": "2015-01-01",
118117
"properties": {
119118
"mode": "Incremental",
120119
"templateLink": {
@@ -414,10 +413,9 @@
414413
]
415414
},
416415
{
417-
"type": "Microsoft.Network/loadBalancers",
418-
"name": "[variables('lbName')]",
419-
"location": "[resourceGroup().location]",
420-
"apiVersion": "2015-06-15",
416+
"type": "Microsoft.Resources/deployments",
417+
"name": "lb-temp",
418+
"apiVersion": "2015-01-01",
421419
"properties": {
422420
"mode": "Incremental",
423421
"templateLink": {

0 commit comments

Comments
 (0)