Pular para o conteúdo
Kitbay
SkillOficialactive

terraform-test

MPL-2.0Atualizado em 4 de nov. de 2026925Estrelas no GitHub

HashiCorp's skill for Terraform's built-in test framework.

O que a skill ensina

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.

O que faz

  • Write .tftest.hcl test files
  • Mock providers and data sources
  • Run tests in plan or apply mode
  • Add Terraform tests to CI pipelines