Infrastructure as code · Technology in use

Terraform

A declarative tool that creates resources and keeps state describing what exists.

The problem it solves

A declarative tool that creates resources and keeps state describing what exists.

Technical rationale

Terraform shows a change before applying it, and that is the part I use most: the plan is where you find out a network edit was going to recreate a guest. State is the real asset, not the configuration, so it lives in a remote bucket created by its own bootstrap stack rather than on the server it describes.

How I have used it

It provisions the node storage, the guests, DNS, and the GitOps repository of the homelab, with state in an R2 bucket created by its own bootstrap stack.