You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Azure Functions has an option to operate without File Share, so I think it's more appropriate to add a property (e.g. disabled_builtin_file_share or etc) to not auto-generate WEBSITE_CONTENTSHARE and WEBSITE_CONTENTAZUREFILECONNECTIONSTRING. As mentioned in the documentation, without File Share is a special use case, so it is preferable to use File share by default in Premium plan and non-Linux Consumption.
Currently, there is no way to control the use of File Share, so deployment may fail when using a Storage Account with restricted access.
New or Affected Resource(s)
azurerm_function_app
Potential Terraform Configuration
# Copy-paste your Terraform configurations here - for large Terraform configs,# please use a service like Dropbox and share a link to the ZIP file. For# security, you can also encrypt the files using our GPG public key.resource"azurerm_function_app""example" {
name="test-azure-functions"location=azurerm_resource_group.example.locationresource_group_name=azurerm_resource_group.example.nameapp_service_plan_id=azurerm_app_service_plan.example.idstorage_account_name=azurerm_storage_account.example.namestorage_account_access_key=azurerm_storage_account.example.primary_access_key# Do not set `WEBSITE_CONTENTAZUREFILECONNECTIONSTRING` and `WEBSITE_CONTENTSHARE`.disabled_builtin_file_share=true
}
Community Note
Description
Azure Functions has an option to operate without File Share, so I think it's more appropriate to add a property (e.g.
disabled_builtin_file_share
or etc) to not auto-generateWEBSITE_CONTENTSHARE
andWEBSITE_CONTENTAZUREFILECONNECTIONSTRING
. As mentioned in the documentation, without File Share is a special use case, so it is preferable to use File share by default in Premium plan and non-Linux Consumption.Currently, there is no way to control the use of File Share, so deployment may fail when using a Storage Account with restricted access.
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: