Skip to content

Instantly share code, notes, and snippets.

@mbuff24
Created November 25, 2014 03:01
Show Gist options
  • Save mbuff24/3c448610e66320db6c76 to your computer and use it in GitHub Desktop.
Save mbuff24/3c448610e66320db6c76 to your computer and use it in GitHub Desktop.
Allow public read access to s3 bucket (S3 tab -> Edit bucket policy -> paste in textarea -> money!)
{
"Version":"2012-10-17",
"Statement":[{
"Sid": "AddPerm",
"Effect": "Allow",
"Principal": "*",
"Action": ["s3:GetObject"],
"Resource": [
"arn:aws:s3:::bucket-name/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment