AWS CloudFormation vs Terragrunt
AWS CloudFormation
aws.amazon.comTerragrunt
terragrunt.comSide by side
| Figure | AWS CloudFormation | Terragrunt |
|---|---|---|
| Price from | Free | $500/mo |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| iOS | Yes | — |
| API | Yes | — |
| Self-hosted | — | Yes |
| Plans published | 3 | 3 |
| Spec score · Infrastructure as Code Tools | 9.0 (#2) | 7.8 (#13) |
| Spec score · Infrastructure Automation | 9.1 (#2) | 7.8 (#13) |
| Spec score · Orchestration / Provisioning Software | 9.1 (#3) | 7.8 (#18) |
| Founded | 2006 | 2016 |
| Purpose | CloudFormation models, provisions, and manages related AWS and third-party resources as infrastructure as code. | Terragrunt is an open-source infrastructure-as-code orchestration tool for running Terraform and OpenTofu at scale. |
Plans
AWS CloudFormation
- AWS CloudFormationFree
- CloudFormation serviceFree
- Third-party resource providersFree
In their own words
AWS CloudFormation
AWS CloudFormation models, provisions, and manages related AWS and third-party resources as infrastructure as code. YAML or JSON templates define AWS resources and their properties. StackSets deploy a common set of resources across multiple AWS accounts and Regions; Change Sets preview proposed stack updates, including possible deletion or replacement, and Drift Detection tracks changes made outside the service. For authoring, AWS CDK supports TypeScript, Python, Java, and .NET, while AWS SAM offers shorthand YAML for serverless resources that is converted during deployment. The CloudFormation Registry supports third-party resources and modules, and stacks can be updated from remote Git repositories. The service is available through API, Linux, macOS, web, and Windows, and manages state. CloudFormation itself has a free plan, with no additional charge for AWS and Alexa resource providers, but created AWS resources are billed at their standard rates. Third-party provider and custom hook operations may also incur charges. Access can be managed with IAM, and CloudTrail logs API calls.
Terragrunt
Terragrunt is an open-source infrastructure-as-code orchestration tool for running Terraform and OpenTofu at scale. It organizes infrastructure into independently operated units and groups related units into stacks. Its Run Queue uses dependency relationships to order operations and allow safe concurrency where possible. Teams can define shared backend settings, provider configuration, module inputs, and environment conventions once, then inherit them across units. It supports AWS, Google Cloud, Microsoft Azure, and other Terraform- or OpenTofu-supported platforms, with self-hosted state management and the ability to import existing resources. The core tool is documented for Windows, macOS, and Linux. The Free Scale tier allows up to 25 infrastructure units, unlimited runs, and unlimited resources without RUM, with community support and no credit card required. Team costs $500 a month, reflecting a 17% annual contract discount, and includes 200 infrastructure units and standard support. Terragrunt Scale adds CI/CD pipelines, drift detection, and automated dependency updates, with GitHub and GitLab workflow support. Enterprise has custom pricing.