terraform-test

Comprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writing test scenarios with run blocks, validating infrastructure behavior with assertions, mocking providers and data sources, testing module outputs and resource configurations, or troubleshooting Terraform test syntax and execution. Terraform test is typically used when validating Terraform modules.

$ Installer

git clone https://github.com/panchal-ravi/ai-iac-consumer-template /tmp/ai-iac-consumer-template && cp -r /tmp/ai-iac-consumer-template/.claude/skills/terraform-test ~/.claude/skills/ai-iac-consumer-template

// tip: Run this command in your terminal to install the skill