From 6f7cf58e28bdc59ccdbaad50f6af6e28bc726229 Mon Sep 17 00:00:00 2001 From: luxu-ms Date: Fri, 1 Mar 2024 07:31:32 +0000 Subject: [PATCH] Rebuild ARM templates --- Environments/Todo-Mongo-AKS/azuredeploy.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Environments/Todo-Mongo-AKS/azuredeploy.json b/Environments/Todo-Mongo-AKS/azuredeploy.json index e800bedc..84d2235d 100644 --- a/Environments/Todo-Mongo-AKS/azuredeploy.json +++ b/Environments/Todo-Mongo-AKS/azuredeploy.json @@ -5,7 +5,7 @@ "_generator": { "name": "bicep", "version": "0.25.53.49325", - "templateHash": "10034134246524106464" + "templateHash": "2845459636497042502" } }, "parameters": { @@ -712,7 +712,7 @@ "mode": "Incremental", "parameters": { "keyVaultName": { - "value": "[parameters('keyVaultName')]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'keyvault'), '2022-09-01').outputs.name.value]" }, "principalId": { "value": "[parameters('aksClusterIdentityObjectId')]" @@ -767,7 +767,10 @@ } ] } - } + }, + "dependsOn": [ + "[resourceId('Microsoft.Resources/deployments', 'keyvault')]" + ] } ], "outputs": {