hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.53k stars 4.6k forks source link

Containerized Azure Function app #27121

Open Dnirmania opened 1 month ago

Dnirmania commented 1 month ago

Is there an existing issue for this?

Community Note

Description

Recently, Azure made their containerized azure function app available for public but It seems terraform template are not yet updated to use that new feature. As per this new feature, User can create function Azure function app on top of container apps environments. image

New or Affected Resource(s)/Data Source(s)

azurerm_linux_function_app

Potential Terraform Configuration

You might make "service_plan_id" property as optional and add new property to use container apps environment.

References

No response

hansmbakker commented 17 hours ago

Looking at https://github.com/Azure/azure-functions-on-container-apps/blob/main/samples/Biceptemplates/Func_on_ACA_Bicepdeploy.bicep, the needed property is managedEnvironmentId