Skill / SKILL.md

Terraform Test

hashicorp/agent-skills

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.
2 views 942 repository stars 0 commentsUpdated Nov 28, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/hashicorp/agent-skills' skill-source

Use the complete skill-source/plugins/terraform/skills/terraform-test directory with your client’s skill installer.

  • plugins/terraform/skills/terraform-test

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugins/terraform/skills/terraform-test

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
8b3d381ce9b3642e1f10d68c7565525a4fe5e43aec973157e0885cce85b8075f
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills