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: ...

June 16, 2025 · 2 min · 282 words

How I Built My Website with a Custom Domain, HTTPS, and Infrastructure on AWS (Using Terraform)

Having a professional personal website with a custom domain and HTTPS might sound complex — but with the right tools, it’s totally achievable. In this first post, I’ll share an overview of the architecture I used to get my site online using AWS, Terraform, and GitHub Actions. This series is aimed at people who are starting in tech or want to transition into cloud and learn infrastructure as code in practice. ...

June 8, 2025 · 2 min · 312 words