Agent skill · software engineering · wshobson

terraform-module-library

Build reusable Terraform modules for AWS, Azure, GCP, and OCI infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

Why this skill is useful

Provides reusable Terraform module patterns and best practices for multi-cloud infrastructure that the AI wouldn't reliably generate on its own.

What it needs

Requires terraform installed locally. About 3k tokens when loaded. Last updated 2026-08-05. 38,570 stars on the source repository.

What this skill does

Terraform Module Library Production-ready Terraform module patterns for AWS, Azure, GCP, and OCI infrastructure. Purpose Create reusable, well-tested Terraform modules for common cloud infrastructure patterns across multiple cloud providers. When to Use Build reusable infrastructure components Standardize cloud resource provisioning Implement infrastructure as code best practices Create multi-cloud compatible modules Establish organizational Terraform standards Module Structure Standard Module Pattern AWS VPC Module Example main.tf: variables.tf: outputs.tf: Best Practices 1. Use semantic versioning for modules 2. Document all variables with descriptions 3. Provide examples in examples/ directory 4. Use validation blocks for input validation 5. Output important attributes for module composition 6. Pin provider versions in versions.tf 7. Use locals for computed values 8. Implement conditional resources with count/foreach 9. Test modules with Terratest 10. Tag all resources consistently Reference: See references/aws-modules.md and references/oci-modules.md Module Composition Testing Related Skills multi-cloud-architecture - For architectural decisions cost-optimization - For cost-effective designs

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills wshobson/terraform-module-library

View the source on GitHub

Browse the @skills marketplace