Skip to content

Instantly share code, notes, and snippets.

@robbytaylor
Created September 23, 2019 11:24
Show Gist options
  • Select an option

  • Save robbytaylor/32f05a9d23df859a23d30cee56e8f554 to your computer and use it in GitHub Desktop.

Select an option

Save robbytaylor/32f05a9d23df859a23d30cee56e8f554 to your computer and use it in GitHub Desktop.
AWS Region whitelist SCP
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Deny",
"NotAction": [
"iam:*",
"organizations:*",
"route53:*",
"budgets:*",
"waf:*",
"cloudfront:*",
"cloudtrail:*",
"importexport:*",
"support:*",
"config:*",
"guardduty:*",
"sts:*",
"logs:*",
"cloudwatch:*",
"s3:*"
],
"Resource": "*",
"Condition": {
"StringNotEquals": {
"aws:RequestedRegion": [
"eu-west-1",
]
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment