Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Find all untagged EC2 instances
import skew
for instance in skew.scan('arn:aws:ec2:*:*:instance/*'):
if not instance.tags:
print('%s is untagged' % instance.arn)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment