Deploy a Secure Static Site with AWS & Terraform
Clone or download
Latest commit 100011b Dec 9, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
modules Init git Dec 9, 2018
web Init git Dec 9, 2018
.gitignore Init git Dec 9, 2018
README.md Readme Dec 9, 2018
deploy Init git Dec 9, 2018
main.tf.example Add provider profile names Dec 9, 2018
setup Init git Dec 9, 2018

README.md

Deploy a Secure Static Site with AWS & Terraform

[Read the full article on AWS Advent]

tl;dr

  1. Run ./setup
  2. Set the domain_website, route53_zone_id and aws_region variables in main.tf
  3. Run terraform apply and type "yes" when prompted
  4. Run ./deploy to deploy the example website at web/ to your new S3 bucket
  5. Visit the domain you entered

Read the article linked above for more comprehensive information as well as troubleshooting tips.

Pull requests welcome to improve chance of errors or add more helpful troubleshooting guides!