Catch infrastructure regressions before they ship.
infrastructure testing
Validates Terraform configuration behavior with test files, scenarios, assertions, mocks, and test runs.
When to use it
Use when creating Terraform test files, writing run-block scenarios, validating infrastructure behavior, mocking providers or data sources, testing modules, or troubleshooting Terraform test syntax and execution.
Give it a Terraform project and a testing goal; it returns Terraform test files and guidance for running and troubleshooting them.
What you provide
This skill
AWS
Creates and cleans up AWS resources
AWS data sources
Reads AWS data sources
The Terraform CLI must be available to create, validate, and run the tests; mock providers require Terraform 1.7.0 or newer.
The AWS access key environment variable enables integration tests that create real AWS resources.
The AWS secret access key environment variable enables integration tests that create real AWS resources.