Blog

Thoughts on Terraform state management, infrastructure parallelism, and building better developer tools.

RSS Feed
All Terraform 208 Infrastructure 142 GitHub 69 Security 56 DevOps 50 State Management 37 GitOps 33 OpenTofu 30 CI/CD 27 Automation 21 Policy 20 Infrastructure As Code 18 Open Source 18 Infrastructure as Code 17 Distributed Systems 5

Terraform state is becoming a database: The shift from storage to system

Terraform state was designed as a file. The next decade of infrastructure tooling treats it as a database, and the substrate is changing.

Terraform State Management Distributed Systems

Yes, Terraform has a graph. That's not the point.

Terraform already walks a DAG during apply. But in-run parallelism isn't the bottleneck. The graph is ephemeral, not infrastructure.

Terraform State Management Distributed Systems

Fix 'Error Acquiring the State Lock' in Terraform

Terraform's state lock error is a design choice that trades velocity for correctness, revealing fundamental coordination limitations.

Terraform State Locking Error Troubleshooting

Terraform state locking explained (and why it hurts at scale)

Terraform state locking uses filesystem semantics for coordination. The result: global mutexes, deployment queues, and superlinear contention.

Terraform State Locking Distributed Systems

Why Stategraph: Terraform state as distributed systems

Terraform state is a distributed systems problem masquerading as file storage. Stategraph models it as a graph with ACID transactions and subgraph isolation.

Terraform Infrastructure Distributed Systems