From a88ade30694a522e90dcb16f365b63b9c5694e51 Mon Sep 17 00:00:00 2001 From: Christian Vorhemus Date: Sun, 8 Mar 2020 19:48:04 +0100 Subject: [PATCH] Adopt ARM template --- pipeline/infrastructure/azuredeploy.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pipeline/infrastructure/azuredeploy.json b/pipeline/infrastructure/azuredeploy.json index 09cb153..de3cf9a 100644 --- a/pipeline/infrastructure/azuredeploy.json +++ b/pipeline/infrastructure/azuredeploy.json @@ -256,7 +256,8 @@ "type": "sourcecontrols", "dependsOn": [ "[resourceId('Microsoft.Web/Sites', variables('functionName'))]", - "[resourceId('Microsoft.Web/sites/config/', variables('functionName'), 'appsettings')]" + "[resourceId('Microsoft.Web/sites/config/', variables('functionName'), 'appsettings')]", + "[resourceId('Microsoft.Web/sites/host/functionKeys', variables('functionName'), 'default', 'internal')]" ], "properties": { "RepoUrl": "[variables('repoURL')]", @@ -283,7 +284,7 @@ "FUNCTIONS_WORKER_RUNTIME": "node", "FUNCTIONS_EXTENSION_VERSION": "~3", "WEBSITE_NODE_DEFAULT_VERSION": "~10", - "FunctionHostKey": "[listkeys(concat(resourceId('Microsoft.Web/Sites', variables('functionName')), '/host/default/'),'2016-08-01').functionKeys.default.internal]" + "FunctionHostKey": "[listkeys(concat(resourceId('Microsoft.Web/Sites', variables('functionName')), '/host/default/'),'2016-08-01').functionKeys.internal]" } } ]