From e7392f5d96a8ae5b982b8bf53dff9ba05d6fafa0 Mon Sep 17 00:00:00 2001 From: Justin Ashworth Date: Thu, 14 Apr 2022 19:23:05 -0400 Subject: [PATCH] fix location/resource group stupidity --- azure/CouchbaseServer-Application/mainTemplate.json | 4 ++-- .../mainTemplate.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/azure/CouchbaseServer-Application/mainTemplate.json b/azure/CouchbaseServer-Application/mainTemplate.json index ca39204..f9710da 100644 --- a/azure/CouchbaseServer-Application/mainTemplate.json +++ b/azure/CouchbaseServer-Application/mainTemplate.json @@ -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": [ { @@ -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'))]" diff --git a/azure/CouchbaseServerAndSyncGateway-Application/mainTemplate.json b/azure/CouchbaseServerAndSyncGateway-Application/mainTemplate.json index dbd115b..565a68f 100644 --- a/azure/CouchbaseServerAndSyncGateway-Application/mainTemplate.json +++ b/azure/CouchbaseServerAndSyncGateway-Application/mainTemplate.json @@ -41,7 +41,7 @@ "defaultValue": { "value": { "name": "Couchbase-Vnet", - "resourceGroup": "[resourceGroup().location]", + "resourceGroup": "[parameters('resourceGroup')]", "addressPrefixes": [ "10.32.0.0/16" ], @@ -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'))]"