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
Requested feature is not available in resource group ...... Please try using a different resource group or create a new one. When creating a FunctionApp plan
#10020
Open
devedse opened this issue
Dec 30, 2020
· 4 comments
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 other comments that do not add relevant new information or questions, 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
Error: Error creating/updating App Service Plan "NLDISDocumentMining-planfunctioncons-dev" (Resource Group "rgname"): web.AppServicePlansClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="BadRequest" Message="Requested feature is not available in resource group rgname. Please try using a different resource group or create a new one." Details=[{"Message":"Requested feature is not available in resource group rgname. Please try using a different resource group or create a new one."},{"Code":"BadRequest"},{"ErrorEntity":{"Code":"BadRequest","ExtendedCode":"59324","Message":"Requested feature is not available in resource group rgname. Please try using a different resource group or create a new one.","MessageTemplate":"Requested feature is not available in resource group {0}. Please try using a different resource group or create a new one.","Parameters":["rgname"]}}]
on appservice.tf line 28, in resource "azurerm_app_service_plan" "planfunctionconsumption":
28: resource "azurerm_app_service_plan" "planfunctionconsumption" {
Expected Behavior
I'm trying to deploy a consumption based FunctionApp on Linux. If I manually create this FunctionApp with a service plan inside this resource group, everything works fine. However when deploying this with Terraform it fails with the above error.
I'm also missing some documentation regarding the different kinds of AppService plans. I would expect some kind of matrix with operating system, consumption/non consumption based, app service/function. There's definitely some information on there but it's not clear for example on how to create a function app for linux on a consumption plan.
As a suggestion, try importing your manually created consumption plan and see if it differs. I think there is also still some issues regarding Windows vs Linux ASPs being in the same resource group, depending on Azure region, so you might want to check that.
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Expected Behavior
I'm trying to deploy a consumption based FunctionApp on Linux. If I manually create this FunctionApp with a service plan inside this resource group, everything works fine. However when deploying this with Terraform it fails with the above error.
I'm also missing some documentation regarding the different kinds of AppService plans. I would expect some kind of matrix with
operating system
,consumption/non consumption based
,app service/function
. There's definitely some information on there but it's not clear for example on how to create a function app for linux on a consumption plan.References
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/app_service_plan
The text was updated successfully, but these errors were encountered: