Skip to content

Instantly share code, notes, and snippets.

@zeekrey
Created March 30, 2019 21:31
Show Gist options
  • Save zeekrey/3920030d88d1c660742bf924d816345a to your computer and use it in GitHub Desktop.
Save zeekrey/3920030d88d1c660742bf924d816345a to your computer and use it in GitHub Desktop.
Make a AWS S3 Bucket public (static website hosting)
{
"Version": "2012-10-17",
"Statement": [{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::domain.com/*"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment