Terraform Module Creator
Generates Terraform module code based on provided specifications, streamlining infrastructure provisioning with first-fluke's expertise.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add terraform-module-creator npx -- -y @trustedskills/terraform-module-creator
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"terraform-module-creator": {
"command": "npx",
"args": [
"-y",
"@trustedskills/terraform-module-creator"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The Terraform Module Creator skill automates the generation of reusable Terraform modules. It takes a description of desired infrastructure as input and outputs a complete, functional Terraform module ready for deployment. This significantly reduces boilerplate code and speeds up infrastructure provisioning.
When to use it
- You need to create a new Terraform module but want to avoid writing all the configuration from scratch.
- You're deploying similar infrastructure repeatedly and want to encapsulate it in a reusable module.
- You’re onboarding new team members and want to provide them with pre-built, standardized modules.
- You need to quickly prototype infrastructure configurations before committing to full implementation.
Key capabilities
- Generates complete Terraform module files (variables, outputs, resources).
- Supports various resource types based on the provided description.
- Creates reusable and modular infrastructure code.
Example prompts
- "Create a Terraform module for an AWS EC2 instance with 16GB of memory."
- "Generate a Terraform module to deploy a Kubernetes cluster using EKS."
- “Build a Terraform module that creates a PostgreSQL database in Azure.”
Tips & gotchas
The quality of the generated module depends heavily on the clarity and detail provided in the prompt. Be specific about resource types, sizes, and any required configurations for optimal results.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.