Terragrunt vs Stategraph
Terragrunt cuts infrastructure into units, one state file and one lock each, and plans on mock values until the upstream unit is applied. Stategraph keeps one state, locks resources, and plans across states as one transaction.
Teams running Terraform on Stategraph
How Stategraph is better
1. Changes across states
Producer and consumer in one plan
A Terragrunt unit reads dependency outputs from applied state, so an earlier plan runs on mock_outputs. Stategraph plans producer and consumer together and commits both states in one transaction.
Terragrunt side illustrative, after Gruntwork's mock_outputs docs. Stategraph side real output.
2. Apply
One reviewed plan, one apply
terragrunt run --all apply adds -auto-approve to every unit, and a failed unit's dependents do not run. Stategraph applies one saved plan as one transaction and records what completed in every state.
-auto-approve flag due to limitations with shared stdin making individual approvals impossible.”Terragrunt CLI reference, run
Both terminals are illustrative.
3. State size
One state, plans sized to the change
Terragrunt's fix for a slow plan or a busy lock is a smaller unit, and its Terralith guide cuts one state into many. Stategraph plans and locks only the part of the graph a change reaches, inside one state.
Terralith scale →No-op plan on a real 800 MB production state.
One benchmark. Results vary with the shape of the state.
4. Price
A flat price, not a directory count
Terragrunt Scale prices by unit, and a unit is any directory with a terragrunt.hcl file. Stategraph Orchestration is $12,000 a year with unlimited users, runs, and concurrent workers, at any number of directories.
Terragrunt Scale
terragrunt.hcl file”.terragrunt.com, Terragrunt Scale pricing
- Free up to 25 units. Team from $500 a month for 200 units. Custom above that
- Gruntwork’s Terralith guide splits one state into eight units, so the count grows with the guidance
Terragrunt Scale prices from terragrunt.com, 2026-09-16. Stategraph Pro is $12,000 a year at any number of directories.
Side by side
Terragrunt vs Stategraph: Key differences
| Capability | Stategraph | Terragrunt |
|---|---|---|
| Lock scope | ✓The resources a change touches | ✗One lock per unit |
| Plan scope | ✓Only what the change reaches | ✗The whole unit |
| A change across states | ✓One plan, one transaction | ✗run --all in DAG order, on applied outputs or mocks |
| Approval | ✓Apply requirements per directory, in the pull request | ✗run --all apply adds -auto-approve |
| Partial failure | ✓One transaction records what completed | ✗Applied units stay applied, dependents do not run |
| Query your infrastructure | ✓SQL across every resource and state | ✗Not available |
| Configuration surface | ✓Your HCL plus stategraph.json |
✗16 block types, 33 functions, 21 experiments |
| Pricing unit | ✓Flat. $12,000 a year, no limits | ●Per directory: free to 25, from $500 a month for 200 |
Terragrunt facts from docs.terragrunt.com, terragrunt.com, and gruntwork.io, 2026-09-16, v1.1.5. Approval compares Stategraph Orchestration.
Same HCL, unit by unit
How to switch
FAQ
Common questions
Try it with your own state
Import a state file and run your first plan in under 30 minutes. Pro is free for 30 days, no credit card.