terraform-test

Installation
SKILL.md

OpenTofu Test Guide

Use OpenTofu's built-in test framework to verify module behavior without relying on ad hoc shell scripts.

In this repository, test guidance should be OpenTofu-first. Use tofu test, not terraform test, unless the user explicitly asks for Terraform.

Defaults

  • Put test files in a tests/ directory when the module or root config is large enough to justify it.
  • Use .tftest.hcl files.
  • Prefer plan-mode tests for fast, low-risk validation.
  • Use apply-mode tests only when you must verify real provider behavior.
  • In this repo, run tests from terraform/.

Test execution

cd terraform
tofu test
Related skills

More from ederheisler/agent-skills

Installs
4
First Seen
Mar 16, 2026