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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"sts:AssumeRole", | |
"ec2:DescribeInstances", | |
"ec2:DescribeTags", | |
"ec2:CreateTags", |
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
#!/usr/bin/env python | |
# | |
# Author: Nick Skitch (CAP team) | |
# For Tagging Compliance. | |
prog_desc = "Generate CSV report of all instance tags" | |
# | |
# Name => <datacenter>-<environment>-<org>-<customer>-<application>-<additional> | |
# Creator => Ex: CAP, PAAS, etc | |
# App => Ex: Cassandra, Redis, EMR, etc. | |
# AppOwner => (Acutal Customer who is using the app) Ex: Asset Team |
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
#!/usr/bin/env python | |
# | |
# Author: Nick Skitch | |
# For Tagging Compliance. | |
prog_desc = "Evaluation of AWS EC2 instances for tag compliance. If dryrun false, will add non_compliant_tag key tag with value \ | |
of missing required tags. WIP." | |
import boto3 | |
import json | |
import argparse |