Skip to content

Commit 741a23b

Browse files
committed
Location fix
Changed resource location from parameter to resourceGroup().location. Deleted location parameter from deployment template and parameter file.
1 parent 422ecf4 commit 741a23b

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

101-backup-vault-create/azuredeploy.json

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,6 @@
88
"description": "Name of the Vault"
99
}
1010
},
11-
"location": {
12-
"type": "string",
13-
"allowedValues": [
14-
"East US",
15-
"West US",
16-
"Central US",
17-
"West Europe",
18-
"South East Asia"
19-
],
20-
"metadata": {
21-
"description": "This is the location where the backup vault will be created"
22-
}
23-
},
2411
"skuName": {
2512
"type": "string",
2613
"defaultValue": "Standard",
@@ -38,7 +25,7 @@
3825
"type": "Microsoft.Backup/BackupVault",
3926
"apiVersion": "2015-03-15",
4027
"name": "[parameters('vaultName')]",
41-
"location": "[parameters('location')]",
28+
"location": "[resourceGroup().location]",
4229
"properties": {
4330
"sku": {
4431
"name": "[parameters('skuName')]"

101-backup-vault-create/azuredeploy.parameters.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
"vaultName": {
66
"value": "backupvault1"
77
},
8-
"location": {
9-
"value": "West US"
10-
},
118
"skuName": {
129
"value": "Standard"
1310
}

0 commit comments

Comments
 (0)