You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this component in combination with @serverless/website. In particular, I want to use https for an S3 website bucket and Cloudfront seems the best option.
Apparently (see code), if originUrl is an S3 bucket url, the input url is replaced with ${bucketName}.s3.amazonaws.com.
In this way, when I try to access the website via cloudfront url I get an AccessDenied error. If I replace by hand in AWS the url with the original one ${website.url} (e.g, bucket-name-xxx.s3-website.my-region.amazonaws.com, it works as expected.
The text was updated successfully, but these errors were encountered:
Hello!
I am using this component in combination with @serverless/website. In particular, I want to use https for an S3 website bucket and Cloudfront seems the best option.
My
serverless.yml
looks likeApparently (see code), if
originUrl
is an S3 bucket url, the input url is replaced with${bucketName}.s3.amazonaws.com
.In this way, when I try to access the website via cloudfront url I get an
AccessDenied
error. If I replace by hand in AWS the url with the original one${website.url}
(e.g,bucket-name-xxx.s3-website.my-region.amazonaws.com
, it works as expected.The text was updated successfully, but these errors were encountered: