Refactoring Terraform: From One File to Modules
One flat file works until it doesn't — here is how to fix that

Search for a command to run...
Articles tagged with #devops
One flat file works until it doesn't — here is how to fix that

Stop storing your state locally, here is the right way to do it on AWS

From invisible to observable: IAM, CloudWatch Agent, and SSM wired together with Terraform

I wanted to stop consuming Terraform modules and start writing them. The best way I know how to learn something is to build something real, break it, fix it, and understand why it works. So I sat down and built a full three tier AWS architecture from scratch, no copy paste, no AI, just me, the Terraform docs, and a lot of errors. Here is what I ended up with and what I learned along the way.

A hands on walkthrough of wiring S3 to Lambda and what I learned by intentionally breaking permissions to understand execution roles vs resource based policies.
