Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Assigning multiple TargetGroupArn to a listener #70

Open
nkkaushik opened this issue Apr 1, 2018 · 0 comments
Open

Assigning multiple TargetGroupArn to a listener #70

nkkaushik opened this issue Apr 1, 2018 · 0 comments

Comments

@nkkaushik
Copy link

Hi,

I want to run multiple services on ALB using path based routing and I want to assign multiple TargetGroupArn to the listener (as highlighted below), please suggest the right way or provide any CF script to launch multiple services on single ALB.

Thanks

ALBListener:
Type: AWS::ElasticLoadBalancingV2::Listener
DependsOn: ECSServiceRole
Properties:
DefaultActions:
- Type: forward
TargetGroupArn: !Ref 'ECSTG', !Ref 'ECSTest2TG']
LoadBalancerArn: !Ref 'ECSALB'
Port: '80'
Protocol: HTTP

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant