Automated Static Site Deployment in AWS Using Terraform

This is a quick and reusable way to deploy an AWS-hosted environment for static sites generated by the likes of Hugo and Jekyll. The code is written in Terraform, which allows us to set up (and tear down, if needed) all the necessary components just by running a few commands. I found several good articles and examples online. However, there was not a single source that had everything I needed. My requirements were: ...

May 2, 2022 · 8 min · pirx