terraform-test
Pass
Audited by Gen Agent Trust Hub on Apr 2, 2026
Risk Level: SAFE
Full Analysis
- Infrastructure Testing Context: The skill details the use of Terraform's testing framework, including both unit tests (plan mode) and integration tests (apply mode). It correctly emphasizes that integration tests create real resources and provides guidance on automatic cleanup and the
-no-cleanupflag for debugging. - Standard Credential Management: The CI/CD integration examples for GitHub Actions and GitLab CI demonstrate the use of secrets and environment variables for cloud provider authentication. This aligns with security best practices for avoiding hardcoded credentials.
- Trusted Resource References: All external references, such as module sources from the public Terraform Registry or official GitHub Actions (e.g.,
hashicorp/setup-terraform), target well-known and expected services within the Terraform ecosystem. - Informational Content: The skill is primarily instructional, providing HCL syntax examples and CLI command references to assist developers in writing robust infrastructure tests without introducing executable scripts or dynamic execution hooks.
Audit Metadata