terraform-aws-alb
terraform-aws-alb copied to clipboard
One listener, multiple target groups
Is your request related to a new offering from AWS?
yes
Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.
- No π: please wait to file a request until the functionality is avaialble in the AWS provider
- Yes β : please list the AWS provider version which introduced this functionality
Is your request related to a problem? Please describe.
I was trying to add one listener and wanted to add ips as targets currently I do have that setup done manually, but was not able to achieve it in terraform module v9.9.0
Describe the solution you'd like.
Able to add a listener pointing to multiple targets.
Describe alternatives you've considered.
Additional context
ex: forward = { target_group_key = ["t1", "t2"] }
Having the same issue as well. Any traction on this?
@shriyo101 , I managed to achieve something workable for now. It doesn't solve the issue of 1 listener > multiple target groups. But it does solve 1 listener to multiple IPs. Have a look at additional_target_group_attachments: https://github.com/terraform-aws-modules/terraform-aws-alb/issues/316
Theres an example in the above as well as: https://github.com/terraform-aws-modules/terraform-aws-alb/blob/master/examples/complete-alb/main.tf
hth
HI @surry355f1
I did try https://github.com/terraform-aws-modules/terraform-aws-alb/issues/316 but it dint not work as expected. Hence raised this ticket..
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
This issue was automatically closed because of stale in 10 days
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.