Infrastructure as Code with Terraform: How I Organized My Project
In the first post, I shared an overview of how I launched my personal site using AWS, HTTPS, and automated deploys. Now let’s dive into the details: how I organized everything using Terraform, applying best practices for structure, reuse, and state management. 📁 Project Structure I split the code into two separate repositories: diego2.0-infra: infrastructure written in Terraform diego2.0-site: site source code (built with Hugo) In the infrastructure repository, I adopted a reusable modules structure: ...