Listing: Container-App mit Terraform bereitstellen provider "azurerm" { features {} subscription_id = "" } resource "azurerm_resource_group" "rg" { name = "my-aca-rg" location = "westeurope" } resource "azurerm_container_app_environment" "env" { name = "my-aca-env" location = azurerm_resource_group.rg. location resource_group_name = azurerm_resource_group.rg.name } resource "azurerm_container_app" "app" { name = "my-aca-app" container_app_environment_id = azurerm_container_app_environment.env.id resource_group_name = azurerm_resource_group.rg.name revision_mode = "Single" template { container { name = "my-container" image = "mcr.microsoft.com/azure docs/containerapps-helloworld: latest" cpu = 0.5 memory = "1Gi" } } ingress { external_enabled = true target_port = 80 traffic_weight { latest_revision = true percentage = 100 } } }