If you
- Create a CloudFormation template that creates an Auto Scale Group
- Set the
TargetGroupARNs
field in the Auto Scale Group to the output from the Target Group'sLoadBalancerArns
attribute (which is obtained withGetAtt
) - Do a stack update
You will encounter a stack update failure with the error message Provided Target Groups may not be valid
Instead of using GetAtt
of the LoadBalancerArns
of the Target Group,
use the Ref
of the Target Group and put the single resulting ARN into