← Back to Blog

Blog

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

RSS Feed

Terraform parallelism: a practical guide to faster applies

CI/CD Scalability Terraform

Learn how Terraform parallelism works, what the default setting does, and how to tune it with the -parallelism flag for faster, safer apply runs.

Read more

Terraform backends explained: Types, config, and limits

Terraform State Management Infrastructure DevOps Backends

Learn what Terraform backends are, how to configure local and remote options, and where the standard approach breaks down at scale.

Read more

Engineering Log: Stategraph 1.0.0 and the month that made it real

Engineering Log Product Updates Stategraph Terraform Testing

Stategraph 1.0.0 shipped with full tfvars support, HCL parser improvements, and a testing overhaul. Here is the engineering work behind the milestone.

Read more

Terraform Map Variables: A Practical Guide

Terraform Infrastructure DevOps

Learn how to use Terraform map variables with real examples, from basic declarations to for_each, lookup(), and map functions in HCL.

Read more

What Is Terraform IaC? A Practical Guide

Terraform Infrastructure State Management

Learn what Terraform IaC is, how it works, the core concepts behind it, why teams adopt it for multi-cloud infrastructure, and how it compares with other IaC tools.

Read more

Terraform's unit of work is too large

Terraform Performance Infrastructure

A real benchmark on an 800 MB Terraform state file: a no-op that took nearly 3 hours versus 97 seconds. The architectural argument behind the result.

Read more

Why Is Terraform So Slow? Root Causes and Fixes

Terraform Performance State Management Infrastructure

Why is Terraform so slow in plan and apply? Learn the real causes of Terraform slowness, the quick fixes that help, and the architectural fix.

Read more

Announcing Stategraph Velocity: Terraform plans in seconds, not minutes

Stategraph Terraform OpenTofu Product Updates

Stategraph Velocity is fast plan and apply for Terraform or OpenTofu, built by replacing the flat state file with a database-backed dependency graph.

Read more

Parallel execution: Faster tests and faster Terraform

Testing Terraform Infrastructure Performance

Parallel execution cuts test suite time and removes Terraform lock waiting. Learn safe patterns and how Stategraph runs independent changes in parallel.

Read more

OpenTofu: The Open Source Infrastructure as Code Tool Your Team Actually Owns

OpenTofu Terraform Open Source Infrastructure

Learn what OpenTofu is, how it compares to Terraform, installation methods, key features like state encryption, and how to migrate your infrastructure code.

Read more

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

Terraform State Management Distributed Systems Architecture

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

Read more

Terragrunt is dead: Multi-state transactions killed run-all

Terraform Stategraph Velocity State Management Orchestration

Terragrunt exists because Terraform can't handle cross-state dependencies. Multi-state transactions execute them atomically. No run-all needed.

Read more

Engineering Log: Computing dependency cones for Terraform resources

Engineering Log Terraform Stategraph Infrastructure

Built a tool that computes the dependency cone of any Terraform resource and extracts a minimal subset file containing only what you need.

Read more

Terragrunt was a band-aid. Stategraph fixes the wound.

Terraform Terragrunt State Management Infrastructure

Terragrunt solved Terraform's scaling problems by splitting state. Stategraph eliminates them by fixing the primitive itself.

Read more

The Terralith is correct. State fragmentation is the problem.

Terraform Infrastructure State Management Terralith Scalability

State fragmentation creates coordination problems Terraform can't see. The real issue isn't monolithic architecture—it's file-based storage.

Read more

The infrastructure stack is getting faster. Terraform is not.

Platform Engineering Terraform Infrastructure Velocity Engineering Leadership Developer Experience

Every layer of the stack is accelerating except infrastructure. Engineering leaders demand velocity. Terraform has the ecosystem but not the speed.

Read more

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

Terraform State Locking State Management Error Troubleshooting DevOps

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

Read more

Fix 'Error Acquiring the State Lock' in Terraform

Terraform State Locking Error Troubleshooting Distributed Systems DevOps

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

Read more

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

Terraform State Locking Distributed Systems Scalability DevOps

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

Read more

Store Terraform state in S3 (with DynamoDB locking)

Terraform AWS S3 Backend State Management DevOps

Complete guide to configuring Terraform's S3 backend with DynamoDB state locking, including setup, encryption, versioning, and IAM policies.

Read more

What is a Terraform state file and where is it stored?

Terraform State Management Beginner Guide DevOps

Learn what Terraform state files are, where they're stored by default, and when to migrate from local to remote backends for team collaboration.

Read more

Terraform state: A practical guide to backends, locks and safe CI/CD

Terraform State Management DevOps CI/CD

Comprehensive guide to Terraform state management: remote backends, state locking, security best practices, and CI/CD integration for enterprise teams.

Read more

Inside Terraform's DAG: How dependency ordering really works

Terraform DAG Infrastructure Technical Deep Dive

Deep dive into Terraform's dependency graph: how the DAG is constructed, how dependencies work, and how Terraform walks the graph with parallelism.

Read more

Terraliths are the natural shape of infrastructure

Terraform Terralith Infrastructure

The Terraform Terralith isn't an anti-pattern. It's the natural shape of infrastructure. The real anti-pattern is accepting broken tooling.

Read more

Why Stategraph: Terraform state as distributed systems

Terraform Infrastructure 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.

Read more