-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
function app: az functionapp create should support slots creation #9126
Comments
@ankitkumarr this is the bug from the CRI - if you have an existing bug please link the bugs. |
👍 I am using an Azure Function runtime version ~2. Following the Terraform example here: https://vgaltes.com/post/deploying-azure-functions-using-slots/ I was able to confirm I see the same issue as stated by @exc3eed above when running the az webapp deployment slot create command. Adding the storage account connection string doesn't seem to change the exception thrown: Failure sending request: StatusCode=400 -- Original Error: Code="BadRequest" Message="Function App app settings are not expected to be empty. Please try again with WEBSITE_CONTENTAZUREFILECONNECTIONSTRING as a storage account connection string. |
@Chedberg84 az webapp should not be used for functionapp - the az functionapp * commands should be used for functionapp & slots creation for functionapp is not currently supported. |
Hello, Is this on track to be deployed on May 15th? Thanks |
We are still working on this, unfortunately the support for slots in the create command will not be out by May 15th |
any idea when this will be available? |
We will start working in the near future, we still do not have a concrete ETA yet |
This can be closed @ahmedelnably. Work was completed and released. |
BUG! |
@rerime thanks for reporting the issue, we will be fixing that in the next release |
Thanks to @ankitkumarr the fix is addressed in #9731 |
Describe the bug
Cannot create slot for Function app. Following error is returned.
"Function App app settings are not expected to be empty. Please try again with WEBSITE_CONTENTAZUREFILECONNECTIONSTRING as a storage account connection string"
To Reproduce
Just execute this command
az webapp deployment slot create --name <function_app_name>--resource-group deletete --slot <slot_name>
Expected behavior
Slot should be created successfully for function app.
Environment summary
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: