The issue is related to the workload_profile and infrastructure_resource_group_name. I'll try to list the history of the related PRs to get the full picture of the story.
Before going through the history, a little bit of the API behavior needs to clarify. The ACE has two versions of environments:
- Consumption only environment (i.e. v1): This is now deprecated and in a deprecating process. Whilst for some reason, some regions still default to this version if
workloadProfilesis not specified. - Workload environment (i.e. v2): This is the recommended version and is enabled for most regions. The API accepts
workloadProfilesunset (though users can set it explicitly), and will return a Consumption profile by default.
See: https://learn.microsoft.com/en-us/azure/container-apps/environment-type-consumption-only