Skip to content

Commit

Permalink
fix location/resource group stupidity
Browse files Browse the repository at this point in the history
  • Loading branch information
malscent committed Apr 14, 2022
1 parent 9bbd1a3 commit e7392f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions azure/CouchbaseServer-Application/mainTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
"apiVersion": "2021-12-01",
"type": "Microsoft.Network/networkSecurityGroups",
"name": "[couchbase.generateResourceName('networkSecurityGroups', parameters('_now'))]",
"location": "[parameters('resourceGroup')]",
"location": "[parameters('location')]",
"properties": {
"securityRules": [
{
Expand Down Expand Up @@ -434,7 +434,7 @@
"type": "Microsoft.KeyVault/vaults",
"apiVersion": "2019-09-01",
"name": "[couchbase.generateResourceName('vault', parameters('_now'))]",
"location": "[parameters('resourceGroup')]",
"location": "[parameters('location')]",
"dependsOn": [
"[resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', couchbase.generateResourceName('identity', parameters('_now')))]",
"[resourceId('Microsoft.Authorization/roleAssignments', variables('assignmentReaderGuid'))]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"defaultValue": {
"value": {
"name": "Couchbase-Vnet",
"resourceGroup": "[resourceGroup().location]",
"resourceGroup": "[parameters('resourceGroup')]",
"addressPrefixes": [
"10.32.0.0/16"
],
Expand Down Expand Up @@ -312,7 +312,7 @@
"apiVersion": "2021-12-01",
"location": "[parameters('location')]",
"tags": {
"usedBy": "[parameters('resourceGroup')]"
"usedBy": "[parameters('location')]"
},
"dependsOn": [
"[resourceId('Microsoft.Network/networkSecurityGroups/', couchbase.generateResourceName('networkSecurityGroups'))]"
Expand Down

0 comments on commit e7392f5

Please sign in to comment.