🎯

terraform-test

🎯Skill

from hashicorp/agent-skills

VibeIndex|
What it does
|

Helps developers automatically generate and run comprehensive test suites for Terraform configurations, modules, and infrastructure code

Overview

Terraform Test is part of the HashiCorp Agent Skills collection, providing AI agent guidance for writing and running Terraform tests. The skill is part of a broader set covering Terraform HCL code generation, module development, provider development, and testing workflows. It integrates with multiple AI coding assistants including Claude Code, GitHub Copilot, Cursor, and OpenCode.

Key Features

  • Terraform test authoring: Guides writing Terraform test files (.tftest.hcl) with proper structure, assertions, and test scenarios.
  • Multi-agent support: Installable via the universal npx skills add CLI or as a Claude Code plugin through the HashiCorp marketplace.
  • HashiCorp ecosystem integration: Covers both Terraform and Packer workflows within a single skill collection, including HCP Packer registry integration.
  • Provider and module testing: Supports testing patterns for both Terraform modules and custom provider development.
  • Official HashiCorp guidance: Skills are maintained by HashiCorp, ensuring alignment with official Terraform conventions and best practices.

Who is this for?

This skill is for infrastructure engineers and DevOps teams who write Terraform configurations and want AI assistance in creating comprehensive test suites. It is especially valuable for teams adopting Terraform's native testing framework and looking for guidance on test structure, assertions, and CI integration.

📦

Same repository

hashicorp/agent-skills(22 items)

terraform-test

Installation

Vibe Index InstallInstalls to .claude/skills/ - auto-recognized by Claude Code
npx vibeindex add hashicorp/agent-skills --skill terraform-test
skills.sh Install⚠ Installs to .agents/skills/ - may not be auto-recognized by Claude Code
npx skills add hashicorp/agent-skills --skill terraform-test
Manual InstallCopy SKILL.md content and save to the path below
~/.claude/skills/terraform-test/SKILL.md

SKILL.md

1,920Installs
-
AddedFeb 4, 2026

More from this repository10

🎯
terraform-style-guide🎯Skill

Validates and auto-corrects Terraform code for consistent formatting, naming conventions, and best practices across infrastructure configurations.

🎯
refactor-module🎯Skill

Refactors and improves Terraform modules by analyzing code structure and suggesting modular, reusable code improvements

🎯
terraform-stacks🎯Skill

Collection of agent skills and Claude Code plugins for HashiCorp Terraform and Packer, covering HCL code generation, module development, provider development, testing, and machine image builds.

🎯
provider-resources🎯Skill

Generates and manages Terraform provider resource definitions, helping developers create custom provider resources with best practices and standard patterns.

🎯
new-terraform-provider🎯Skill

Generates boilerplate code and scaffolding for creating a new custom Terraform provider with best practices and standard structure.

🎯
provider-actions🎯Skill

Agent skills and Claude Code plugins for HashiCorp products including Terraform (HCL code, modules, providers, tests) and Packer (machine images, HCP Packer registry).

🎯
run-acceptance-tests🎯Skill

Runs automated acceptance tests for HashiCorp Terraform providers to validate resource and data source implementations against real infrastructure.

🎯
terraform-search-import🎯Skill

Skill

🎯
azure-verified-modules🎯Skill

Generates and validates Azure-specific Terraform modules that adhere to HashiCorp's best practices and Azure cloud standards.

🎯
aws-ami-builder🎯Skill

Automates the creation and configuration of Amazon Machine Images (AMIs) on AWS using Packer, streamlining machine image build processes.