-
Notifications
You must be signed in to change notification settings - Fork 409
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
[AVM Module Issue]: FunctionApp Can't Be Deployed when on Consumption #1797
Comments
Important The "Needs: Triage 🔍" label must be removed once the triage process is complete! Tip For additional guidance on how to triage this issue/PR, see the BRM Issue Triage documentation. Note This label was added as per ITA06. |
Note The "Type: Bug 🐛" label was added as per ITA21. |
@jreinhardtproarch, thanks for submitting this issue for the Important A member of the @Azure/avm-res-web-site-module-owners-bicep or @Azure/avm-res-web-site-module-contributors-bicep team will review it soon! |
Hi @jreinhardtproarch thanks for submitting the issue. We shall schedule some triage time in for later in May to take a look at this. Thanks Again. |
Hi! Any update on this issue? |
The module itself isn't written in a way, nor documented, that allows users to deploy a function app using each plan type. User must depend on the errors from a deployment to identify what is missing (e.g., parameter use dictating what App Setting value is generated). |
Check for previous/existing GitHub issues
Issue Type?
Bug
Module Name
avm/res/web/site
(Optional) Module Version
0.3.4
Description
This claims to be able to deploy a FunctionApp. However, the default appSettings it deploys only include the storage setting WebSiteJobsStorage (see main.bicep line 72. This means that, per https://learn.microsoft.com/en-us/azure/azure-functions/functions-recover-storage-account#storage-account-application-settings-were-deleted, this template assumes that an Elastic Premium and Consumption plan are not being used as per that link.
I would propose that the template be updated to ensure that the connection string appSetting WEBSITE_CONTENTAZUREFILECONNECTIONSTRING is deployed if a consumption app or elastic premium server farm is linked and that the file share is also created in the linked storage account with a corresponding appSetting WEBSITE_CONTENTSHARE. Is this doable?
(Optional) Correlation Id
No response
The text was updated successfully, but these errors were encountered: