terraform-aws-ecs icon indicating copy to clipboard operation
terraform-aws-ecs copied to clipboard

Feature: service connect multiple service

Open honarkhah opened this issue 5 months ago β€’ 2 comments

Is your request related to a new offering from AWS?

  • Yes βœ…: please list the AWS provider version which introduced this functionality 4.43.0

Problem

while using service connect you might need to expose more than a port on service, but that is limited in the module, although api and console are allowing it

Describe the solution you'd like.

service_connect_configuration = {
    enabled   = true
    namespace = ".local"
    service = [{
      client_alias = {
        port     = 80
        dns_name = "service"
      }
      port_name      = "service-port-1"
      discovery_name = "service"
      }, {
      client_alias = {
        port     = 80
        dns_name = "service-ws"
      }
      port_name      = "service-port-2"
      discovery_name = "service-ws"
    }]
}

honarkhah avatar Jun 05 '25 12:06 honarkhah

I would love to patch it myself

honarkhah avatar Jun 05 '25 12:06 honarkhah

Would not it make sense to keep it backward compatible?

honarkhah avatar Jun 05 '25 15:06 honarkhah

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] avatar Jul 06 '25 00:07 github-actions[bot]

This issue has been resolved in version 6.0.0 :tada:

antonbabenko avatar Jul 07 '25 12:07 antonbabenko

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

github-actions[bot] avatar Aug 07 '25 02:08 github-actions[bot]