Created
January 1, 2016 03:21
-
-
Save cmawhorter/d43c326e90340028159a to your computer and use it in GitHub Desktop.
AWS IAM inline policy for a user that gives them access to a specific region. Definitely not complete but good enough for me, for now for dev.
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": "*", | |
"Resource": "*", | |
"Condition": { | |
"StringLike": { | |
"aws:SourceArn": "arn:aws:*:us-west-2:*" | |
} | |
} | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": "s3:*", | |
"Resource": [ | |
"arn:aws:s3:::*-us-west-2", | |
"arn:aws:s3:::*-us-west-2/*" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment