Skip to content

Commit 71a84ad

Browse files
authored
Merge pull request #100 from peavers/master
Updated bucket policy based on latest AWS recommendations
2 parents aa8f204 + a00f352 commit 71a84ad

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -285,16 +285,14 @@ If you want the contents of the S3 bucket to be accessible to the world, the fol
285285

286286
```js
287287
{
288+
"Version": "2012-10-17",
288289
"Statement": [
289290
{
290-
"Sid": "Stmt1EmberCLIS3AccessPolicy",
291+
"Sid": "PublicReadForGetBucketObjects",
291292
"Effect": "Allow",
292-
"Action": [
293-
"s3:GetObject"
294-
],
295-
"Resource": [
296-
"arn:aws:s3:::your-s3-bucket-name/*"
297-
]
293+
"Principal": "*",
294+
"Action": "s3:GetObject",
295+
"Resource": "arn:aws:s3:::bucket-name/*"
298296
}
299297
]
300298
}

0 commit comments

Comments
 (0)