terraform-azurerm-caf
terraform-azurerm-caf copied to clipboard
Add workload profile to Container App Environment
Is there an existing issue for this?
- [X] I have searched the existing issues
Community Note
- Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
This module does not support container app environment workload profiles as defined in the AzureRM module:
A workload_profile block supports the following:
name - (Required) The name of the workload profile.
workload_profile_type - (Required) Workload profile type for the workloads to run on. Possible values include Consumption, D4, D8, D16, D32, E4, E8, E16 and E32.
maximum_count - (Required) The maximum number of instances of workload profile that can be deployed in the Container App Environment.
minimum_count - (Required) The minimum number of instances of workload profile that can be deployed in the Container App Environment.
Support should be added folloeing the AzureRM definition:
New or Affected Resource(s
azurerm_container_app_environments
Potential Configuration file
container_app_environments = {
cae1 = {
name = "container app with profile"
region = "region1"
resource_group_key = "rg_re1"
workload_profile {
name = "caetest"
workload_profile_type = "D4"
minimum_count = 1
maximum_count = 2
}
tags = {
environment = "testing"
}
}
}
References
No response