Skip to content

Instantly share code, notes, and snippets.

@lyoshenka
Last active August 29, 2015 14:04
Show Gist options
  • Save lyoshenka/9765a5ec9796747cc4b6 to your computer and use it in GitHub Desktop.
Save lyoshenka/9765a5ec9796747cc4b6 to your computer and use it in GitHub Desktop.
Make your whole S3 bucket publicly readable
{
"Version": "2012-10-17",
"Statement": [{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": ["s3:GetObject"],
"Resource": ["arn:aws:s3:::BUCKETNAME/*"]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment