
Terraform Module Library
Build reusable, standardized Terraform modules for AWS, Azure, GCP and OCI cloud infrastructure.
- Repository
- wshobson/agents
- Stars
- 42,095
- Licence
- MIT
- Files
- 3 files
What it does
Terraform is a tool that describes cloud infrastructure (networks, databases, Kubernetes clusters, storage) as code. This skill teaches the agent a standard way to write reusable Terraform 'modules', which are packaged blocks of infrastructure code that can be reused across projects. Once installed, the agent suggests a consistent folder layout, input validation, outputs, pinned provider versions, examples and Terratest tests, with sample code for AWS VPCs and reference notes for AWS and OCI modules.
Great for
- Platform or DevOps engineers who want to standardize how their team provisions cloud resources
- Developers building reusable infrastructure components across several projects or clouds
- Teams starting a new internal Terraform module library and wanting a consistent structure
Skip it if
- People who only need to run an existing Terraform configuration: the skill focuses on authoring modules, not operating live infrastructure
- Anyone expecting the agent to apply changes to a real cloud account safely: the skill's example tests run terraform apply and destroy against real cloud resources, which can incur cost and cause outages if pointed at production
Try asking
- “Create a reusable Terraform module for an AWS VPC with private subnets and validated CIDR inputs”
- “Scaffold a standard module folder with main.tf, variables.tf, outputs.tf, versions.tf, examples and Terratest tests”
- “Show me how to structure an OCI Virtual Cloud Network module for our team”
- “Review my Terraform module against infrastructure-as-code best practices”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 3 original files, the MIT licence and an attribution note.
terraform-module-library.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip terraform-module-library.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip terraform-module-library.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Ask the agent to target one cloud at a time, and mention your provider and region so the examples match your setup
- Run terraform plan and Terratest against a sandbox account, never production, before trusting generated modules
- Check the referenced aws-modules.md and oci-modules.md files for provider-specific details, since the skill's examples are illustrative and may need updating for current provider versions
What's inside
- references/aws-modules.md
- references/oci-modules.md
- SKILL.md
Redistributed unmodified from wshobson/agents under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.