terragrunt-generator

Generate Terragrunt root and environment configurations with built-in validation.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/tylern91/dotfiles --skill terragrunt-generator-tylern91
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terragrunt-generator
Source: https://github.com/tylern91/dotfiles/tree/main/claude/.claude/skills/terragrunt-generator
Command: npx skills add https://github.com/tylern91/dotfiles --skill terragrunt-generator-tylern91

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Terragrunt configuration generation is complex and error-prone; this skill automates the creation of standardized, production-ready Terragrunt templates that align with current best practices and 2025 feature support.

Core Features & Use Cases

  • Generates root.hcl and environment-specific terragrunt.hcl templates aligned with modern patterns, including stacks, feature flags, exclude blocks, errors blocks, and the OpenTofu engine.
  • Provides architecture pattern selection and inline validation to ensure correctness before delivery across single- and multi-environment setups.
  • Supports multi-environment layouts, dependency wiring, and stack-based unit generation for reusable infrastructure blueprints.

Quick Start

Run the Terragrunt Generator to produce modern root, env, and module Terragrunt templates with built-in validation.

Frequently Asked Questions about terragrunt-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Terragrunt configs for multi-environment projects?

You generate Terragrunt configs for multi-environment projects by producing root.hcl and environment-specific terragrunt.hcl templates. This approach supports multi-environment layouts, dependency wiring, and stack-based unit generation for reusable infrastructure blueprints.

What are the best practices for Terragrunt stack and feature flag configurations?

Terragrunt best practices for stacks and feature flags involve using standardized templates that support exclude blocks, errors blocks, and architecture pattern selection. This ensures correct infrastructure blueprints through inline validation during generation.

Can I use OpenTofu engine layouts with Terragrunt configurations?

Yes, you can use OpenTofu engine layouts with Terragrunt configurations. The generation process aligns with modern patterns and 2025 feature support, directly producing templates configured for the OpenTofu engine across your environments.

How do I scaffold a root.hcl file with built-in validation?

You scaffold a root.hcl file with built-in validation by applying architecture pattern selection and root naming conventions during generation. This enforces correctness before delivery by applying inline checks to the standardized templates.

Does Terragrunt generation support exclude blocks and error blocks?

Yes, Terragrunt generation supports exclude blocks and error blocks. The generated templates align with modern patterns, incorporating these blocks alongside feature flags and stack-based unit generation for production-ready infrastructure.