How to specify plan type = Consumption and Dedicated workload profiles
for Azure Container Apps Environment using terraform 3.49.0
. I am using below snippet:
# main.tf
resource "azurerm_container_app_environment" "aca_env" {
for_each = { for aca_env in var.aca_envs : aca_env.name => aca_env}
name = each.value.name
...
}
# .tfvars
aca_envs = [
{
name = "myacaenv"
resource_group_name = "myrg"
location = "West Europe"
subnet_id = "mysubnet"
internal_load_balancer_enabled = true
tags = {}
roles = []
}
]