-
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
Error when deploying a Flex Consumption Function App #26672
Comments
Thanks @oWretch for raising this issue, just curious about whether you are able to create the function app via Azure portal? Seems I'm having issue creating the flex consumption function app via any methods. |
Hi @xiaxyi. Yes, I have been able to create Flex Consumption Function Apps both via the portal and code. I've written a blog post on how to do it with the AzAPI provider: https://solideogloria.tech/azure/deploy-a-flex-consumption-function-app-with-terraform/ |
Also worth noting that this sample code from the Azure-Samples works with the AzAPI provider as well. I have tested this code and confirm it works. Now we just need the AzureRM provider to be current with this feature. |
Hi guys! I also need to deploy a function app in consumption plan, are there plans for these adjustments to be included in AzureRM provider in a near future ? |
Hello, The problem still occurirng. From what I understand that the feature it isn't implemented yet. Will it be included in the provider soon? Thanks you very much! |
Just encountered this attempting to apply a [email protected] and [email protected] configuration. Any chance someone could indicate where this lands on the roadmap? |
I encounter the same issue, if there is a solution without using azapi to create the Flex Consumption Function app? |
This issue persists to azurerm provider version |
Running into this issue as well |
Probably best to wait for #27531 |
Is there an existing issue for this?
Community Note
Terraform Version
1.9.1
AzureRM Provider Version
3.112.0
Affected Resource(s)/Data Source(s)
azurerm_linux_function_app
Terraform Configuration Files
Debug Output/Panic Output
After adding support for the
FC1
SKU to theazurerm_service_plan
in #26351 as part of #26043 I attempted to also create a flex consumption function app. This failed with the above error.Resolution of this is dependant upon hashicorp/go-azure-sdk#1017 ,which may be dependant upon an upstream fix - I haven't investigated that far.
I'm mostly raising this issue as a placeholder for a known issue.
As an aside, it seems that Microsoft are making some significant changes to the way the Function App is provisioned - many of the old settings are deprecated and replaced with new settings inside the
functionAppConfig
structure. Reference: https://learn.microsoft.com/en-us/azure/azure-functions/flex-consumption-plan.Also, from further testing, the
functionAppConfig
structure is only supported on the flex consumption function apps.The text was updated successfully, but these errors were encountered: