1 Answer
- Newest
- Most votes
- Most comments
0
Solution:
There must be a bucket policy to AllowPublicRead.
And this is in addition to enabling bucket for web hosting.
{"Version": "2008-10-17",
"Statement": [{"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": {
"AWS": ""
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::YOUR-BUCKET-NAME/"
}]}
answered 5 years ago
Relevant content
- asked a month ago
- asked a year ago
- asked 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago