Skip to content

Instantly share code, notes, and snippets.

@morkeltry
morkeltry / bucket_policy.js
Created March 1, 2020 21:20 — forked from philfreo/bucket_policy.js
AWS S3 bucket policy to make all files public (+CORS)
{
"Statement": [
{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::bucket_name_here/*"