Hi,
I am trying to import a container app environment into terraform using azurerm_container_app_environment with provider version 3.108.0 and terraform version 1.8.5.
I am struggling a bit and I think this might be a bug, but before reporting it I want to be sure I am not making a mistake somewhere.
This is the JSON view of the resource in azure portal:
If I don’t add workload_profile to my resource configuration, I get this error:
│ Error: Missing required argument
│
│ 19: infrastructure_resource_group_name = each.value.infrastructure_resource_group_name
│
│ "infrastructure_resource_group_name": all of
│ `infrastructure_resource_group_name,workload_profile` must be specified
If I add it to the configuration, I get this when running terraform plan:
+ workload_profile { # forces replacement
+ name = "Consumption"
+ workload_profile_type = "Consumption"
}
Is this a bug in the provider?