Last active
November 4, 2018 09:46
-
-
Save 24HOURSMEDIA/dd99eadd130058025a2c89816f69d0b1 to your computer and use it in GitHub Desktop.
aws ec2 get instance and ami tags and write them to a file. here is the file and the policy for the AWS role needed om the instances
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:DescribeInstances", | |
"ec2:DescribeTags" | |
], | |
"Resource": "*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment