What problem does it solve? Writing Terraform tests requires knowing the .tftest.hcl syntax, run block structure, assertion patterns, and mock provider configuration, which is easy to get wrong without a reference. This Skill provides the patterns and commands needed to validate infrastructure code before it reaches production. ## Core Features & Use Cases - Test Authoring: Create .tftest.hcl files with run blocks, assertions, variables, plan options, and expect_failures for validation rules. - Mock Providers: Simulate AWS resources and data sources without credentials for fast plan-mode unit tests (Terraform 1.7.0+). - CI/CD Integration: GitHub Actions and GitLab CI pipeline examples that separate unit tests from integration tests. - Use Case: You are building a VPC module and want to verify subnet counts, tag inheritance, and CIDR validation. Use this Skill to generate plan-mode unit tests, mock-based tests, and an apply-mode integration test, then wire them into a pull request pipeline. ## Quick Start Write Terraform unit tests in plan mode with assertions for my VPC module and show me how to run them with terraform test.