← All posts

Stop clicking: why I moved my cloud setup into Terraform

14 March 2025 · 1 min read
#terraform#iac

For a long time my cloud setup lived in my head and in the console. It worked, until I needed to build the same thing twice and couldn't remember every checkbox.

So I moved it into Terraform. The first win wasn't speed, it was memory: the code is the documentation. If I want to know how a network or a role is set up, I read a file instead of clicking through ten screens.

A few habits that made it stick:

  • Remote state with locking. State on my laptop was a single point of failure. Shared, versioned, locked state means two runs can't fight each other.
  • Plan, then apply the saved plan. terraform plan -out tfplan then terraform apply tfplan. What I reviewed is exactly what runs.
  • Small modules I actually reuse. Not a giant framework, just the pieces I kept rebuilding.
  • Read every plan line. "1 to change" can mean a restart. I don't apply anything I can't explain.

The console is still useful for looking around. It's just not where changes come from any more.

T
Written by Teza Wynn Htut

Cloud and infrastructure engineer in Auckland. I write down the fixes and lessons from things I build, and make tutorial videos on YouTube.

Watch on YouTube