Skip to content

Instantly share code, notes, and snippets.

@ninadpchaudhari
Created February 14, 2018 22:02
Show Gist options
  • Save ninadpchaudhari/2bd17cceaf08212a2fd1b35130a8dda8 to your computer and use it in GitHub Desktop.
Save ninadpchaudhari/2bd17cceaf08212a2fd1b35130a8dda8 to your computer and use it in GitHub Desktop.
S3 Policy to make content in Bucket public by default
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "MakeItPublic",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::<Your Bucket Name here>/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment