I am trying to get tags and their values which are assigned to cloudformation stack on my aws account using Boto3. I am able to retrieve the list of all the cloudformation stacks, output and other attributes but not able to retrieve tags.
1 Answers
3
votes
According to the API documentation the describe-stacks endpoint has a Tags field, which is a list of objects containing a Key and Value field. Boto exposes these:
If response.Stacks[*].Tags is an empty list then your stack has no tags.