Infrastructure as Code (IaC)

Using Terraform and related tools to automate and scale cloud infrastructure with maintainable code.


Setting up Terraform for AWS: what I got wrong, and how I fixed it

Part 1 of 3 in Infrastructure as Code (IaC)

In 2023 I bootstrapped Terraform for my own AWS account. Three years on, looking back at that setup is professionally embarrassing — long-lived credentials, a single account, no tests. Here's what I built instead, and what I'd tell someone starting today.

— Written 26 July 2023 · Edited 28 March 2026 · Written by Benjamin Clark

Managing GitHub with Terraform (and GitHub!)

Part 2 of 3 in Infrastructure as Code (IaC)

How I used Terraform to manage all of Sudoblark's GitHub repositories — covering the three-tier data pattern, bootstrapping paradox, and drift detection.

— Written 07 August 2023 · Edited 28 March 2026 · Written by Benjamin Clark

Refactoring monsternames-api to use modern Terraform

Part 3 of 3 in Infrastructure as Code (IaC)

How I replaced a Docker/EC2/MySQL monolith with a fully serverless REST API — and made the Python as data-driven as the Terraform.

— Written 04 December 2024 · Edited 28 March 2026 · Written by Benjamin Clark