In AWS' Cloudformation, how do I attach an Autoscaling Group (ASG) to an Application Load Balancer Target Group?
There does not appear to be any direct way to do that directly in a Cloudformation Template (CFT), though it it possible using the AQWS CLI or API. The AWS::ElasticLoadBalancingV2::TargetGroup
resource only offers these target types:
instance
. Targets are specified by instance ID.ip
. Targets are specified by IP address.lambda
. The target groups contains a single Lambda function.