Is there an existing issue for this?
Community Note
- Please vote on this issue by adding a 👍 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 and review the contribution guide to help.
Description
This feature is still in preview, but I figured it was worth adding to the queue so that support can be planned for and eventually land in a timely manner.
In API version 2023-05-02-preview Azure has added support for a new block in the ingress block: additionalPortMappings.
This feature request is to track adding support for that new feature at such a time as it becomes released to their main API version.
New or Affected Resource(s)/Data Source(s)
azurerm_container_app
Potential Terraform Configuration
resource "azurerm_container_app" "example" {
name = "example-app"
container_app_environment_id = azurerm_container_app_environment.example.id
resource_group_name = azurerm_resource_group.example.name
revision_mode = "Single"
ingress {
target_port = 1234
# The new item:
additional_port_mapping {
external_enabled = true
target_port = 4321
}
additional_port_mapping {
target_port = 2345
}
}
template {
container {
name = "examplecontainerapp"
image = "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest"
cpu = 0.25
memory = "0.5Gi"
}
}
}
References
microsoft/azure-container-apps#763
Is there an existing issue for this?
Community Note
Description
This feature is still in preview, but I figured it was worth adding to the queue so that support can be planned for and eventually land in a timely manner.
In API version
2023-05-02-previewAzure has added support for a new block in theingressblock:additionalPortMappings.This feature request is to track adding support for that new feature at such a time as it becomes released to their main API version.
New or Affected Resource(s)/Data Source(s)
azurerm_container_app
Potential Terraform Configuration
References
microsoft/azure-container-apps#763