Skip to content

Instantly share code, notes, and snippets.

@nskitch
Created August 16, 2017 17:43
Show Gist options
  • Save nskitch/6eec97a1fc76b4aa78ab2438aa034649 to your computer and use it in GitHub Desktop.
Save nskitch/6eec97a1fc76b4aa78ab2438aa034649 to your computer and use it in GitHub Desktop.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"sts:AssumeRole",
"ec2:DescribeInstances",
"ec2:DescribeTags",
"ec2:CreateTags",
"ec2:DeleteTags",
"ec2:StopInstances",
"tag:getResources",
"tag:getTagKeys",
"tag:getTagValues",
"tag:addResourceTags",
"tag:removeResourceTags",
"tag:tagResources",
"tag:untagResources",
"cloudwatch:Describe*",
"cloudwatch:Get*",
"cloudwatch:List*"
],
"Resource": "*"
}
{
"Effect": "Allow",
"Action": [
"s3:CreateBucket",
"s3:ListBucket",
"s3:ListAllMyBuckets,"
"s3:GetBucketLocation",
"s3:PutObject",
"s3:PutObjectAcl"
],
"Resource": [
"arn:aws:s3:::tagging-compliance",
"arn:aws:s3:::tagging-compliance/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment