terraform-provider-tests
OfficialAutomate Terraform provider test modernization.
Software Engineering#automation#terraform#drift-detection#idempotency#analyze#gap-analysis#state-checks
Authorhashi-demo-lab
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill analyzes and modernizes Terraform provider tests by applying terraform-plugin-testing v1.13.3+ patterns to identify coverage gaps, migrate legacy checks to state-based validations, and guide improvements for drift, import, and idempotency tests. It also collects actionable insights and templates to streamline test modernization work.
Core Features & Use Cases
- Gap analysis and reporting: automatically detect legacy patterns and missing tests, generating prioritized recommendations.
- Modern pattern guidance: convert legacy Check blocks to ConfigStateChecks, add idempotency and drift tests, and implement ImportState flows.
- ID consistency and test quality: track Resource IDs across steps, verify import and drift behavior, and validate test coverage metrics.
- Example testing integration: coordinate with example testing workflows to ensure provider examples stay accurate and reliable.
Quick Start
Run automated gap analysis on your Terraform provider tests with the included analyze_gap.py script to generate a timestamped report.
Dependency Matrix
Required Modules
yaml
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: terraform-provider-tests Download link: https://github.com/hashi-demo-lab/terraform-provider-bcm/archive/main.zip#terraform-provider-tests Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.