terragrunt-validator

Validate, lint, and test Terragrunt configurations across multi-module environments.

290|32|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/akin-ozer/cc-devops-skills --skill terragrunt-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terragrunt-validator
Source: https://github.com/akin-ozer/cc-devops-skills/tree/main/devops-skills-plugin/skills/terragrunt-validator
Command: npx skills add https://github.com/akin-ozer/cc-devops-skills --skill terragrunt-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill provides a comprehensive framework to validate, lint, and test Terragrunt configurations, helping teams catch errors early and maintain consistent IaC practices across environments.

Core Features & Use Cases

  • Comprehensive validation: validates HCL syntax, terragrunt configuration, and Terraform interoperability checks, plus dependency graph validation.
  • Linting and quality gates: integrates with tools like tflint and security scanners to enforce coding standards and security checks.
  • Use Case: before deploying multi-environment Terragrunt setups, run this skill to detect syntax errors, misconfigurations, and potential security issues across modules.

Quick Start

Run a full Terragrunt validation on a target directory: bash scripts/validate_terragrunt.sh <target-directory>

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 configurations and catch HCL errors before deployment?

You can validate Terragrunt configurations by running an automated workflow that checks HCL syntax, inputs, and dependency graphs. This process detects syntax errors and misconfigurations across multi-module environments before deployment.

What is Terragrunt validation and how does it enforce infrastructure as code best practices?

Terragrunt validation is the process of verifying HCL syntax, Terragrunt configuration, and Terraform interoperability. It enforces best practices by integrating linting and security scanners to maintain consistent infrastructure as code quality across environments.

Can I use this validation workflow for multi-environment Terragrunt setups?

Yes, this validation workflow is designed for multi-environment Terragrunt setups. It consolidates testing and quality gates to verify readiness across modules, ensuring consistent infrastructure as code practices throughout different deployment environments.

How do I lint Terragrunt HCL files and run security checks?

You can lint Terragrunt HCL files by integrating tools like tflint and security scanners into your validation workflow. This enforces coding standards and identifies potential security issues across your infrastructure modules.

Does Terragrunt validation check dependency graphs and Terraform interoperability?

Yes, Terragrunt validation includes dependency graph validation and Terraform interoperability checks. This ensures that module dependencies are correctly configured and that your Terragrunt configurations work seamlessly with underlying Terraform setups.