CtrlK
BlogDocsLog inGet started
Tessl Logo

pantheon-ai/terragrunt-validator

Comprehensive toolkit for validating, linting, testing, and automating Terragrunt configurations, HCL files, and Stacks. Use this skill when working with Terragrunt files (.hcl, terragrunt.hcl, terragrunt.stack.hcl), validating infrastructure-as-code, debugging Terragrunt configurations, performing dry-run testing with terragrunt plan, working with Terragrunt Stacks, or working with custom providers and modules.

Overall
score

92%

Does it follow best practices?

Validation for skill structure

Overview
Skills
Evals
Files

troubleshooting.mdreferences/

Troubleshooting Guide

Debug Mode

Enable debug output for troubleshooting:

# Terragrunt debug
TERRAGRUNT_DEBUG=1 terragrunt plan

# Terraform trace
TF_LOG=TRACE terragrunt plan

Common Error Patterns

"Error: Module not found"

  • Clear cache: rm -rf .terragrunt-cache
  • Re-initialize: terragrunt init

"Error: Provider not found"

  • Check provider configuration
  • Run custom resource detection
  • Use WebSearch to find correct provider source and version
  • Verify required_providers block

"Error: Invalid function call"

  • Check Terragrunt version compatibility
  • Review function syntax in documentation

"Cycle detected in dependency graph"

  • Review dependency chains
  • Consider refactoring into single module
  • Use data sources instead of dependencies

"Error acquiring state lock"

  • Check if another process is running
  • Verify DynamoDB table (for S3 backend)
  • Force unlock if safe: terragrunt force-unlock <LOCK_ID>

"Error: unknown command" (Terragrunt 0.93+)

  • Terragrunt 0.93+ has a new CLI with breaking changes
  • Commands like render-json, validate-inputs are deprecated
  • Use terragrunt run -- <command> for custom/unsupported commands
  • Replace graph-dependencies with dag graph
  • See: https://terragrunt.gruntwork.io/docs/migrate/cli-redesign/

Install with Tessl CLI

npx tessl i pantheon-ai/terragrunt-validator@0.1.1

references

advanced_usage.md

best_practices.md

cli_commands.md

output_interpretation.md

troubleshooting.md

version_compatibility.md

SKILL.md

tile.json