Skip to content

Commit af0166b

Browse files
committed
Remove app service plan deployment, #498
1 parent 2044aba commit af0166b

File tree

4 files changed

+0
-21
lines changed

4 files changed

+0
-21
lines changed

Deploy/statdeploy.json

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -135,28 +135,12 @@
135135
"allowBlobPublicAccess": false
136136
}
137137
},
138-
{
139-
"type": "Microsoft.Web/serverfarms",
140-
"apiVersion": "2021-02-01",
141-
"name": "[variables('functionName')]",
142-
"location": "[parameters('location')]",
143-
"sku": {
144-
"name": "Y1",
145-
"tier": "Dynamic",
146-
"size": "Y1",
147-
"family": "Y"
148-
},
149-
"properties": {
150-
"reserved": true
151-
}
152-
},
153138
{
154139
"condition": "[equals(parameters('identityType'), 'sp')]",
155140
"apiVersion": "2019-10-01",
156141
"name": "STATFunctionSP",
157142
"type": "Microsoft.Resources/deployments",
158143
"dependsOn": [
159-
"[resourceId('Microsoft.Web/serverfarms', variables('functionName'))]",
160144
"[resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName'))]"
161145
],
162146
"properties": {
@@ -229,7 +213,6 @@
229213
"name": "STATFunctionSystemId",
230214
"type": "Microsoft.Resources/deployments",
231215
"dependsOn": [
232-
"[resourceId('Microsoft.Web/serverfarms', variables('functionName'))]",
233216
"[resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName'))]"
234217
],
235218
"properties": {
@@ -296,7 +279,6 @@
296279
"name": "STATFunctionUser",
297280
"type": "Microsoft.Resources/deployments",
298281
"dependsOn": [
299-
"[resourceId('Microsoft.Web/serverfarms', variables('functionName'))]",
300282
"[resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName'))]"
301283
],
302284
"properties": {

Function/ServicePrincipalIdentity.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@
107107
"reserved": true,
108108
"httpsOnly": true,
109109
"clientAffinityEnabled": true,
110-
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('STATFunctionName'))]",
111110
"siteConfig": {
112111
"linuxFxVersion": "PYTHON|3.12",
113112
"appSettings": [

Function/SystemIdentity.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@
9595
"reserved": true,
9696
"httpsOnly": true,
9797
"clientAffinityEnabled": true,
98-
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('STATFunctionName'))]",
9998
"siteConfig": {
10099
"linuxFxVersion": "PYTHON|3.12",
101100
"appSettings": [

Function/UserAssignedIdentity.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@
107107
"reserved": true,
108108
"httpsOnly": true,
109109
"clientAffinityEnabled": true,
110-
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('STATFunctionName'))]",
111110
"siteConfig": {
112111
"linuxFxVersion": "PYTHON|3.12",
113112
"appSettings": [

0 commit comments

Comments
 (0)