'AWS Autoscaling: query tags from all related EC2s
I have several EC2 under the same Autoscaling Group, and each of them has a tag named "TheKey" with different values. Now I need to collect all the values from those keys (no matter which value is on which EC2).
Is there a direct query I can do without first asking the ASG for the list of instances and then loop through all of them to get the tag?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
