Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit da432ea

Browse files
authored
Merge pull request #15 from xpouyat/master
Arm update
2 parents cfe86f2 + ee4c5d8 commit da432ea

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

azuredeploy.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
{
102102
"type": "Microsoft.Storage/storageAccounts",
103103
"name": "[variables('storageAccountName')]",
104-
"apiVersion": "2016-01-01",
104+
"apiVersion": "2019-06-01",
105105
"location": "[resourceGroup().location]",
106106
"comments": "This storage account is used by the functions.",
107107
"sku": {
@@ -136,7 +136,7 @@
136136
],
137137
"kind": "functionapp",
138138
"properties": {
139-
"serverFarmId": "[variables('hostingPlanName')]",
139+
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('hostingPlanName'))]",
140140
"siteConfig": {
141141
"appSettings": [
142142
{
@@ -229,8 +229,7 @@
229229
"apiVersion": "2019-08-01",
230230
"comments": "This section sets up source control for continuous integration on the Function app and pulls the source code down from Github.",
231231
"dependsOn": [
232-
"[resourceId('Microsoft.Web/sites', variables('functionsAppName'))]",
233-
"[concat('Microsoft.Web/sites/', variables('functionsAppName'), '/config/appsettings')]"
232+
"[resourceId('Microsoft.Web/Sites', variables('functionsAppName'))]"
234233
],
235234
"properties": {
236235
"repoUrl": "[parameters('sourceCodeRepositoryURL')]",

0 commit comments

Comments
 (0)