Question: Is there a way to determine which AutoScaling Group a Launch Configuration is attached to.
Why do I need to know? I have a list of existing Launch Configurations and I want to delete one of them.
Undesirable Solutions:
- I can get a list of all my AutoScaling Groups and look through each one to determine which Launch Configuration it is using.
- I can just try to delete the Launch Configuration and then having the error tell me which AutoScaling Group it is attached to.
Desirable Solutions:
- Query Launch Configuration and have it return which group it is attached to.
- Query all AutoScaling Groups with the Launch Configuration name as a filter.