LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

terraform-test - Write and run Terraform tests

Write and run Terraform tests using test files, run blocks, assertions, provider mocks, module checks, and plan or apply modes.

Tags

Updated: 2026-12-02

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Create Terraform test files
  • Define test run blocks
  • Write validation assertions
  • Mock providers and data sources
  • Test module outputs
  • Validate resource configurations
  • Run plan-mode tests
  • Run apply-mode tests
  • Test expected failures
  • Configure plan options

Inputs

  • Terraform configuration
  • Test scenarios
  • Variable values
  • Provider configurations
  • Module sources
  • Terraform test files

Outputs

  • Test pass or fail results
  • Assertion failure messages
  • Temporary test resources
  • Validation status

Requirements

  • Terraform CLI with built-in test framework
  • Provider configuration for tested infrastructure

Source

  • Spec: SKILL.md
Terraform
infrastructure testing
HCL
test automation
provider mocking
module testing
Create Terraform test files
Define test run blocks
Write validation assertions
Mock providers and data sources
Terraform configuration
Test scenarios
Variable values
Test pass or fail results
Assertion failure messages
Temporary test resources