-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Az Function Elastic Premium doesn't creates its file share #17254
Comments
This is unsupported, you must upgrade to provider 3.x and manually create contentshare with azurerm_storage_share and point to that with WEBSITE_CONTENTSHARE = azurerm_storage_share.example.name VNet integration and storage share auto provisioning stopped working in 2.77 and support was ceased |
@caioqueirozkr have you tried the new resource provider |
Hello @xiaxyi, yes i just replaced my code to sue the new resource provider, same behavior. |
Hello @mkprizzle thanks, i upgraded the azurerm provider to 3.x and manually created the share, i also added the WEBSITE_CONTENTSHARE to my function settings, but after deploy, i still have the same error, Function unreachable. Maybe if should be done in a specific order, currently my deploy will do everything together. |
If you are using storage account ACLs and vnet integration, make sure storage account whitelists the azure websites subnet (or has a private endpoint) |
I just checked and the Function Vnet is added to storage account firewall, the Vnet integration is enabled. i could create a private endpoint for the storage account, would Vnet Integration and vnet route all disabled in this case? |
Hi @caioqueirozkr, have you tried to create the storage file share manually and see if the function app can be created as expected? |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Is there an existing issue for this?
Community Note
Terraform Version
1.2.0
AzureRM Provider Version
Affected Resource(s)/Data Source(s)
azurerm_function_app
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Azure Fileshare into the Azure storage account associated to the Azure Function created automatically after terraform apply.
Actual Behaviour
Azure Function runtime unreachable.
Steps to Reproduce
Important Factoids
No response
References
#14167
https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings
https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-vnet#configure-your-function-app-settings
The text was updated successfully, but these errors were encountered: