Skip to content
InfratoApp
InfratoApp / Resources / Agent skills / terraform-test

terraform-test

terraform-test is an agent skill published by hashicorp, listed under deploy & operate. It lives in the hashicorp/agent-skills repository, which has 909 GitHub stars and is licensed under MPL-2.0; we last read it on 2026-09-16.

This repository provides guidance for writing and running Terraform tests, including creating .tftest.hcl files, writing test scenarios, validating infrastructure behavior, mocking providers and data sources, testing module outputs and resource configurations, and troubleshooting test syntax and execution.

Install

skills is a generic installer for any repository of Claude agent skills -- it reads hashicorp/agent-skills’s own structure rather than assuming one, the same way this page reads the skill’s own SKILL.md rather than assuming a format.

npx skills add hashicorp/agent-skills

Maintenance

Stars
909
State
listed
Licence
MPL-2.0
From the repository

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.

terraform-test compared with similar skills

terraform-test compared with other skills for the same job, by publisher, what it does, repository stars and last update
SkillPublisherWhat it doesRepo starsLast update
terraform-test (this page)hashicorpComprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writ…9092026-10-05
new-terraform-provider(same repository)hashicorpUse this when scaffolding a new Terraform provider with the Plugin Framework: workspace layout, go module set…9092026-10-05
internal-commsanthropicA set of resources to help me write all kinds of internal communications, using the formats that my company l…183,8452026-10-09
xlsxanthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user…183,8452026-10-09
ci-cd-and-automationaddyosmaniAutomates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you…110,6112026-10-13
observability-and-instrumentationaddyosmaniInstruments code so production behavior is visible and diagnosable. Use when adding logging, metrics, tracing…110,6112026-10-13
agent-platform-endpoint-managementgoogleManages Agent Platform serving endpoints. Use when you need to create, list, describe, update, or delete serv…21,5802026-10-25

Skills from the same repository first, then others for this job by repository stars. Figures are from each repository when we last read it.

Common questions about terraform-test

What does terraform-test do?
This repository provides guidance for writing and running Terraform tests, including creating .tftest.hcl files, writing test scenarios, validating infrastructure behavior, mocking providers and data sources, testing module outputs and resource configurations, and troubleshooting test syntax and execution.
How do I install terraform-test?
Run npx skills add hashicorp/agent-skills. The skills installer reads the repository’s own structure, so it works for any repository of agent skills.
Who publishes terraform-test?
hashicorp.
Is terraform-test maintained, and what licence does it use?
Its repository has 909 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-05. The repository declares the MPL-2.0 licence.

More agent skills for deploy & operate

All deploy & operate entries →

Learn this on Infrato