Setup & Installation
What This Skill Does
Terraform's built-in testing framework for writing and running tests against Terraform configurations. Tests use .tftest.hcl files with run blocks, assert conditions, and optional mock providers to validate module behavior without relying on external test tools. Unlike third-party tools like Terratest, terraform test runs natively with no extra binaries, supports mock providers to avoid cloud costs, and integrates directly into existing CI workflows with a single command.
When to use it
- Working with terraform test functionality
- Implementing terraform test features
- Debugging terraform test related issues
