terraform-validator

Validate, lint, and test Terraform configurations for syntax and security compliance.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Validate, lint, and test Terraform configurations to catch syntax errors, security issues, and misconfigurations early in the development lifecycle.

Core Features & Use Cases

  • Syntax validation and formatting checks for Terraform (.tf) files, including integration with terraform fmt and validate, to ensure clean, consistent code.
  • Security scanning and governance through Checkov, provider documentation lookup, and dry-run testing to reduce risk across environments.
  • Use Case: Teams migrating to Terraform Cloud or multiple providers can automate audits, generate actionable reports, and enforce best practices across repositories.

Quick Start

Run the Terraform Validator against a Terraform project to perform syntax validation, security scans, provider doc lookups, and dry-run checks, then review the generated report.

Frequently Asked Questions about terraform-validator

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

FAQPage Schema
How do I validate Terraform configurations for syntax and security compliance?

Terraform validation catches syntax errors and security issues by coordinating terraform fmt, terraform validate, and Checkov scanning. It enforces syntax correctness and security compliance across simple modules and multi-environment deployments.

What is the best way to run a dry-run test on my Terraform project?

Dry-run testing validates Terraform configurations by executing provider documentation lookups and testing logic without applying changes. This reduces risk across environments by identifying misconfigurations before deployment.

Can I use Checkov scanning to enforce security governance in Terraform Cloud migrations?

Checkov scanning enforces security governance during Terraform Cloud migrations by auditing configurations and generating actionable reports. Teams enforce best practices across repositories to reduce risk across multiple providers.

Does this Terraform validation process work with multiple providers and complex modules?

Terraform validation applies to projects of varying complexity, from simple modules to multi-environment deployments. It coordinates provider documentation lookups and syntax checks to ensure consistent code across providers.

How do I automate Terraform formatting checks and linting in CI/CD workflows?

Automated Terraform formatting checks and linting satisfy CI/CD workflows by running terraform fmt and validate to ensure clean code. They generate actionable reports and enforce best practices across repositories.

Why does my Terraform configuration fail validation before deployment?

Terraform validation fails when syntax errors, formatting inconsistencies, or security misconfigurations exist. Running terraform fmt, terraform validate, and Checkov scanning identifies these issues early before deployment.