terraform-tests
OfficialWrite Terraform tests with blocks and assertions.
AuthorLuscii
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill enables Terraform practitioners to write comprehensive tests using Terraform's built-in testing framework, including test blocks, run blocks, assertions, and provider configuration, to validate modules before deployment.
Core Features & Use Cases
- Supports end-to-end test structures with test, run, variables, provider, and module blocks to exercise Terraform modules.
- Enables setup, validation, and cleanup via helper modules and assertions, including negative testing with expect_failures.
- Ideal for validating module behavior, provider interactions, and configuration changes across environments before applying real changes.
Quick Start
Use this skill to create tests in a file like tests/integration.tftest.hcl and run terraform test tests/integration.tftest.hcl to verify your module.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: terraform-tests Download link: https://github.com/Luscii/terraform-fluentbit-luscii-presets/archive/main.zip#terraform-tests Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.