Closed msb closed 3 years ago
The goal of using the S3 API endpoint was to avoid the possibility to directly access the S3 bucket HTTP URL (for SEO purpose, to avoid duplicate content). I'll dig if I find another solution, otherwise I'll go with your suggestion.
As pointed out by @marcusbelcher, using the redirect bucket's website endpoint appears to fix the problem.
Unlike @jakobpin's solution this works for me without having to make the bucket public.
Addresses https://github.com/cloudmaniac/terraform-aws-static-website/issues/1
(it's like a bus - you wait for ages then 2 come along at once)