terragrunt-validator

Validate and audit Terragrunt .hcl configurations for misconfigurations and security issues.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you catch Terragrunt configuration errors and security risks before they reach CI or apply time, so you can ship infrastructure changes with confidence.

Core Features & Use Cases

  • Terragrunt HCL validation & linting: Checks HCL formatting and validates inputs for terragrunt.hcl/root.hcl and multi-module stacks.
  • Dependency graph verification: Detects broken wiring and circular dependencies using Terragrunt DAG graph checks.
  • Security scanning & remediation guidance: Runs configuration security scans (e.g., Trivy/Checkov) and reports findings with actionable fixes.
  • Custom provider/module documentation lookup: Ensures custom resources are documented via Context7 (preferred) or web search, improving accuracy for validation and checks.

Quick Start

Run the terragrunt-validator skill against your Terragrunt configuration directory to produce a structured validation report with security findings and remediation steps.

Frequently Asked Questions about terragrunt-validator

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

FAQPage Schema
How do I validate Terragrunt HCL configurations for security issues?

You can validate and secure Terragrunt HCL configurations by running a staged workflow that checks HCL formatting, verifies dependency graphs, and scans for security issues before infrastructure deployment.

What is Terragrunt dependency graph verification and how does it work?

Terragrunt dependency graph verification detects broken wiring and circular dependencies using Terragrunt DAG graph checks across multi-module stacks to ensure infrastructure deployment order is correct.

How do I lint Terragrunt HCL files for multi-module stacks?

Linting Terragrunt HCL files for multi-module stacks involves checking HCL formatting and validating inputs for terragrunt.hcl and root.hcl files to prevent misconfigurations before CI or apply time.

Does this validation workflow support custom Terraform providers and modules?

Yes, the validation workflow supports custom providers and modules by performing documentation lookup via Context7 or web search for every detected custom resource, ensuring accurate validation checks for Terragrunt 0.93+.

Can I skip certain validation stages when checking Terragrunt configurations?

You can skip specific validation stages during Terragrunt configuration checks by setting optional skip flags via environment variables, allowing you to bypass certain checks while maintaining deterministic validation scripting.

What's the best way to scan Terragrunt configurations for security misconfigurations?

The best way to scan Terragrunt configurations for security misconfigurations is running configuration security scans that report findings with actionable remediation guidance, catching risks before they reach apply time.