Agent skill · software engineering · rmyndharis

terraform-module-library

Build reusable Terraform modules for AWS, Azure, and GCP 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-02. 1,255 stars on the source repository.

What this skill does

Terraform Module Library Production-ready Terraform module patterns for AWS, Azure, and GCP infrastructure. Do not use this skill when The task is unrelated to terraform module library You need a different domain or tool outside this scope Instructions Clarify goals, constraints, and required inputs. Apply relevant best practices and validate outcomes. Provide actionable steps and verification. Purpose Create reusable, well-tested Terraform modules for common cloud infrastructure patterns across multiple cloud providers. Use this skill when 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 Module Composition Reference Files references/aws-modules.md - AWS module patterns 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 rmyndharis/terraform-module-library

View the source on GitHub

Browse the @skills marketplace