Skip to content

Instantly share code, notes, and snippets.

@spark2ignite
Last active September 29, 2021 08:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spark2ignite/e2a5a23fc6d239837cc3765cc0db024d to your computer and use it in GitHub Desktop.
Save spark2ignite/e2a5a23fc6d239837cc3765cc0db024d to your computer and use it in GitHub Desktop.
DoiT CMP IAM Policy for AWS
{
"Statement": [
{
"Sid": "OrganizationAccountAccessRole",
"Effect": "Allow",
"Action": ["sts:AssumeRole"],
"Resource": "arn:aws:iam::*:role/OrganizationAccountAccessRole"
},
{
"Sid": "Organizations",
"Effect": "Allow",
"Action": [
"organizations:ListAccounts*",
"organizations:ListHandshakes*",
"organizations:DescribeOrganization",
"organizations:DescribeAccount",
"organizations:DescribeCreateAccountStatus",
"organizations:DescribeHandshake",
"organizations:CreateAccount",
"organizations:InviteAccountToOrganization"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Sid": "HealthKnownIssues",
"Action": [
"health:EnableHealthServiceAccessForOrganization",
"health:DescribeEventsForOrganization",
"health:DescribeEvents"
],
"Resource": "*"
},
{
"Sid": "BillingPipeline",
"Effect": "Allow",
"Action": [
"iam:GetRole",
"ec2:DescribeReservedInstances",
"savingsplans:Describe*",
"ce:List*",
"ce:Describe*",
"ce:Get*"
],
"Resource": "*"
},
{
"Sid": "S3Bucket",
"Effect": "Allow",
"Action": ["s3:ListBucket"],
"Resource": "arn:aws:s3:::XXX_MPA_S3_CUR_BUCKET"
},
{
"Sid": "S3Object",
"Effect": "Allow",
"Action": ["s3:GetObject"],
"Resource": "arn:aws:s3:::XXX_MPA_S3_CUR_BUCKET/*"
}
],
"Version": "2012-10-17"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment