terraform-test
MPL-2.02026年11月4日 更新925GitHubスター
HashiCorp's skill for Terraform's built-in test framework.
スキルの内容
HashiCorp's skill for Terraform's built-in test framework. It explains .tftest.hcl files, run blocks, assertions, apply and plan test modes and mock providers (from Terraform 1.7), and helps an agent write unit and integration tests for modules, validate outputs and resource settings, and fix test syntax or failures. Reference files hold mock provider patterns, GitHub Actions and GitLab CI examples, and a complete example suite for a VPC module, loaded only when needed. Tests in apply mode create real temporary resources.
できること
- Write .tftest.hcl test files
- Mock providers and data sources
- Run tests in plan or apply mode
- Add Terraform tests to CI pipelines
概要
- 公開元
- HashiCorp
- ツール
- Terraform
インストール
- すべてのクライアントに追加するには、次のコマンドを実行します:
npx skills add hashicorp/agent-skills/plugins/terraform/skills/terraform-test
含まれるファイル
- references/CI_CD.md
- references/EXAMPLES.md
- references/MOCK_PROVIDERS.md
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
| 項目 | 内容 | 出典 |
|---|---|---|
| 種類 | スキル | |
| ツール | Terraform | |
| 公開元 | HashiCorp | 出典 |
| 公式かどうか | 公式published in HashiCorp's own GitHub organisation; contributions restricted to HashiCorp-internal contributors | 出典 |
| ステータス | active | 出典 |
| APIキーまたはサインインが必要 | ドキュメントに記載なし | |
| スクリプトを含む | いいえ | 出典 |
| プラットフォーム | ドキュメントに記載なし | |
| AIクライアント | ドキュメントに記載なし | |
| ライセンス | MPL-2.0 | 出典 |
| 料金 | ドキュメントに記載なし | |
| 活動状況 | 最終コミット 2026年11月4日GitHubスター 925ダウンロード数のデータなし(npm・PyPIで未公開) | 出典 |
| リンク | リポジトリ |
出典
- スキルファイル(SKILL.md)github.com/hashicorp/agent-skills2026年11月10日
- README(README.md)github.com/hashicorp/agent-skills2026年11月12日
- ライセンスファイル(LICENSE)github.com/hashicorp/agent-skills · 根拠となる項目:ライセンス2026年11月12日
- GitHubリポジトリgithub.com/hashicorp/agent-skills · 根拠となる項目:公式かどうか, 公開元, 活動状況, ライセンス2026年11月11日
- リポジトリ内のフォルダ(terraform-test)github.com/hashicorp/agent-skills · 根拠となる項目:スクリプトを含む2026年11月10日
- リポジトリ内のファイル(SKILLS.md)github.com/hashicorp/agent-skills · 根拠となる項目:ステータス2026年11月12日