Skip to content

Commit

Permalink
Merge pull request #100 from peavers/master
Browse files Browse the repository at this point in the history
Updated bucket policy based on latest AWS recommendations
  • Loading branch information
lukemelia authored Feb 14, 2019
2 parents aa8f204 + a00f352 commit 71a84ad
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,16 +285,14 @@ If you want the contents of the S3 bucket to be accessible to the world, the fol

```js
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1EmberCLIS3AccessPolicy",
"Sid": "PublicReadForGetBucketObjects",
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::your-s3-bucket-name/*"
]
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::bucket-name/*"
}
]
}
Expand Down

0 comments on commit 71a84ad

Please sign in to comment.