Blog

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

RSS Feed
All Terraform 204 Infrastructure 142 GitHub 70 Security 53 DevOps 46 State Management 36 GitOps 34 OpenTofu 31 CI/CD 25 Automation 20 Policy 20 Infrastructure As Code 19 Open Source 18 AWS 16 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