Skip to content

Instantly share code, notes, and snippets.

@arpaulnet
arpaulnet / awsvpc-mode-multi-targetgroup-alb.yml
Last active Feb 5, 2022
Workaround for 'awsvpc' network-mode containers and multiple target groups from https://github.com/aws/amazon-ecs-agent/issues/1351
View awsvpc-mode-multi-targetgroup-alb.yml
AWSTemplateFormatVersion: 2010-09-09
Description: |
Replicates (de)registration events from a source target group to a destionation target group
in order to workaround ECS limitation where a single container cannot automatically register
to multiple target groups
Parameters:
SourceTargetGroupArn:
Description: ARN of a source target group to replicate targets from