Skip to content

Commit df6d8ad

Browse files
committed
set package name
1 parent bf48ac7 commit df6d8ad

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

articles/azure-functions/functions-infrastructure-as-code.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,9 @@ When using a connection string instead of managed identities, you need to instea
12491249

12501250
### Deployment package
12511251

1252-
The Flex Consumption plan uses _one deploy_ for deploying your code project. The code package itself is the same as you would use for zip deployment in other Functions hosting plans. To include one deployment in your template, use the `/onedeploy` resource definition for the remote URL that contains the deployment package. The Functions host must be able to access both this remote package source and the deployment container.
1252+
The Flex Consumption plan uses _one deploy_ for deploying your code project. The code package itself is the same as you would use for zip deployment in other Functions hosting plans. However, the name of the package file itself must be `released-package.zip`.
1253+
1254+
To include a one deploy package in your template, use the `/onedeploy` resource definition for the remote URL that contains the deployment package. The Functions host must be able to access both this remote package source and the deployment container.
12531255

12541256
This example adds a one deploy source to an existing app:
12551257

@@ -1262,7 +1264,7 @@ param functionAppName string
12621264
@description('The location into which the resources should be deployed.')
12631265
param location string = resourceGroup().location
12641266
1265-
@description('The zip content url.')
1267+
@description('The zip content URL for released-package.zip.')
12661268
param packageUri string
12671269
12681270
resource functionAppName_OneDeploy 'Microsoft.Web/sites/extensions@2022-09-01' = {
@@ -1297,7 +1299,7 @@ resource functionAppName_OneDeploy 'Microsoft.Web/sites/extensions@2022-09-01' =
12971299
"packageUri": {
12981300
"type": "string",
12991301
"metadata": {
1300-
"description": "The zip content url."
1302+
"description": "The zip content URL for released-package.zip."
13011303
}
13021304
}
13031305
},

0 commit comments

Comments
 (0)