Skip to content

Commit c1970a9

Browse files
authored
Update README.md
Newer version of the recommended policies from Amazon (http://docs.aws.amazon.com/AmazonS3/latest/dev/HostingWebsiteOnS3Setup.html)
1 parent 97a22ef commit c1970a9

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
@@ -270,16 +270,14 @@ If you want the contents of the S3 bucket to be accessible to the world, the fol
270270

271271
```js
272272
{
273+
"Version": "2012-10-17",
273274
"Statement": [
274275
{
275-
"Sid": "Stmt1EmberCLIS3AccessPolicy",
276+
"Sid": "PublicReadForGetBucketObjects",
276277
"Effect": "Allow",
277-
"Action": [
278-
"s3:GetObject"
279-
],
280-
"Resource": [
281-
"arn:aws:s3:::your-s3-bucket-name/*"
282-
]
278+
"Principal": "*",
279+
"Action": "s3:GetObject",
280+
"Resource": "arn:aws:s3:::swordfish.space/*"
283281
}
284282
]
285283
}

0 commit comments

Comments
 (0)