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 State Locking 4

Terraform concurrency: What it is and how to control it

Learn what Terraform concurrency means, how concurrency limits work, and how to safely manage concurrent Terraform runs in your infrastructure.

Terraform State Management State Locking

Don't force unlock Terraform state. Do this instead.

Forcing a Terraform state unlock bypasses safety mechanisms that prevent concurrent modifications. Understand what's happening and what to do instead.

Terraform State Locking State Management

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