Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flawed S3 backend configuration #1

Open
jcardinal opened this issue Apr 24, 2020 · 1 comment
Open

Flawed S3 backend configuration #1

jcardinal opened this issue Apr 24, 2020 · 1 comment
Labels

Comments

@jcardinal
Copy link
Owner

I don't like the http-only configuration for S3 backends, and I believe there is a more elegant way to define an S3 backend for CloudFront that doesn't rely on the S3 website endpoint at all. Locking down the buckets and using secure internal connectivity would be better.

@jcardinal
Copy link
Owner Author

I know I've had the previous thought before, tried it, run into issues, and reverted to this setup. I found a couple posts describing similar issues and suggesting this current setup is required for hosting a website this way, and maybe especially for handling redirects.
https://chrismcg.com/2019/01/30/terraform-provisioned-static-site-hosting-on-aws-s3-with-cloudfront/
https://blog.joshwalsh.me/aws-gatsby/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant