Builds reusable Terraform modules for AWS, GCP, Azure resources with variables, outputs, validations, security best practices, examples, and auto-generated README docs.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin terraform-module-builderThis skill is limited to using the following tools:
Build reusable, production-ready Terraform modules with proper variable definitions, outputs, validation rules, documentation, and examples. Generate modules following HashiCorp's standard module structure for AWS, GCP, and Azure resources with security best practices, tagging conventions, and lifecycle management.
Builds reusable Terraform modules for AWS, Azure, and GCP infrastructure following IaC best practices with standard patterns, examples, and testing. Use for standardizing cloud provisioning and multi-cloud components.
Provides production-ready Terraform module patterns for AWS VPC/EKS/RDS, Azure VNet/AKS, GCP VPC/GKE/CloudSQL, with standard structure, variables, tests, and examples.
Guides Terraform workflows for infrastructure as code including providers, modules, state management, workspaces, and multi-cloud resources on AWS, Azure, GCP. Use for writing, debugging .tf files, planning/applying changes, and best practices.
Share bugs, ideas, or general feedback.
Build reusable, production-ready Terraform modules with proper variable definitions, outputs, validation rules, documentation, and examples. Generate modules following HashiCorp's standard module structure for AWS, GCP, and Azure resources with security best practices, tagging conventions, and lifecycle management.
terraform version)terraform-docs installed for automated documentation generation (optional)main.tf, variables.tf, outputs.tf, versions.tf, locals.tfversions.tf with required_version and required_providers blocks pinned to stable versionsvariables.tf with descriptions, types, defaults, and validation rulesmain.tf using variables for all configurable values; use locals for computed valuesoutputs.tf for resource IDs, ARNs, endpoints, and connection stringsexamples/ directory with at least one complete usage example showing module invocationterraform-docs markdown table . > README.mdterraform init && terraform validate and test with terraform plan using the examplemain.tf, variables.tf, outputs.tf, versions.tf, locals.tfexamples/basic/main.tf with realistic variable valuesREADME.md with inputs, outputs, and usage documentation.terraform-docs.yml configuration for documentation generationterraform test (HCL-based)| Error | Cause | Solution |
|---|---|---|
variable validation failed | Input value does not meet validation rule | Check the validation block in variables.tf; adjust the value or the validation regex |
provider not found | Missing or wrong provider source in versions.tf | Add the provider to required_providers with correct source and version constraint |
circular dependency | Resources referencing each other in a loop | Refactor to break the cycle; use depends_on or separate into sub-modules |
output references undeclared resource | Typo in resource name or resource removed | Verify resource names in main.tf match output references exactly |
module source not found | Incorrect module path or registry reference | Verify the source path is relative (e.g., ./modules/vpc) or a valid registry address |