A complete Terraform stack to deploy a serverless static website, hosted from AWS in a secured s3 bucket, only accessible via CloudFront (no direct bucket access).

This stack should be used as a quickstart, and may require some additional tweaking to suit your needs (outside of hosting a simple single secure static website).

See source code on GitHub:
mikmorley/aws-terraform-secure-s3-website-with-cloudfront: A complete Terraform stack to deploy a s3 hosted serverless website behind CloudFront (github.com)