Tagging Auto Scaling Groups and Instances - Amazon EC2 Auto Scaling

PHOTO EMBED

Wed Jul 01 2020 11:49:53 GMT+0000 (Coordinated Universal Time)

Saved by @michahell12@gmail.com

aws autoscaling create-or-update-tags \
  --tags ResourceId=my-asg,ResourceType=auto-scaling-group,Key=Name,Value=my-asg,PropagateAtLaunch=true \
  ResourceId=my-asg,ResourceType=auto-scaling-group,Key=cost-center,Value=cc123,PropagateAtLaunch=true
content_copyCOPY

https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html