hashicorp/agent-skills/terraform-test
Comprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writing test scenarios with run blocks, validating infrastructure behavior with assertions, mocking providers and data sources, testing module outputs and resource configurations, or troubleshooting Terraform test syntax and execution.
Agent skill · version 0.0.0-main.1793923151.g5e30fa5 · from hashicorp/agent-skills
Install
npx yarkr-cli add skill:hashicorp/agent-skills/terraform-testWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:hashicorp/agent-skills/terraform-test
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:hashicorp/agent-skills/terraform-testOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:hashicorp/agent-skills/terraform-testWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.