s3-cloudfront-route53
7hoenix/s3-cloudfront-route53/website
Terraform scripts to setup an S3 based static website, with a CloudFront distribution and the required Route53 entries.
Terraform setup for S3 static site with CloudFront, Certificate Manager and Route53 This Git repository contains the required Terraform scripts to setup a static website, hosted out of an S3 bucket. The site is fronted by a CloudFront distribution, uses AWS Certificate Manager for HTTPS and allows for configuring the required DNS entries in Route53. The scripts also take care of: Preventing the origin bucket being indexed by search bots. Redirect other domains to the main site with proper rewriting. Access logging Redirect HTTP to HTTPS These scripts suite my needs, but all evolution in the form of pull requests are welcome! To make this process fluent, create an issue first describing what you want to contribute, then fork and create a branch with a clear name. Submit your work as a pull