What problem does it solve?
This Skill solves the problem of hand-authoring error-prone Terragrunt HCL by generating consistent, production-ready configurations from best-practice patterns.
Core Features & Use Cases
- Terragrunt scaffolding with modern conventions: Generates root.hcl (favoring find_in_parent_folders("root.hcl")), child terragrunt.hcl, and multi-environment layouts.
- Dependency wiring and safe validation: Produces dependency blocks with mock_outputs and mock_outputs_allowed_terraform_commands to keep validate/plan workflows unblocked.
- 2025 feature support with guardrails: Supports Stacks, Feature Flags, exclude blocks, errors blocks, and OpenTofu engine patterns while avoiding deprecated attributes.
- Built-in safety checks: Ensures encrypt=true for remote_state, uses errors blocks instead of retryable_errors, performs placeholder and secrets safety checks, and runs validation (or fallback checks) before presenting results.
Quick Start
Use the terragrunt-generator Skill to generate a multi-environment Terragrunt setup with correct root include syntax, dependency wiring with mock outputs, and 2025-ready feature flags for your new infrastructure project.