Terraform Module Builder

🌐Community
by patricio0312rev · vlatest · Repository

Automates Terraform module creation from specifications, streamlining infrastructure code generation for cloud deployments.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add patricio0312rev-terraform-module-builder npx -- -y @trustedskills/patricio0312rev-terraform-module-builder
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "patricio0312rev-terraform-module-builder": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/patricio0312rev-terraform-module-builder"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

The terraform-module-builder skill enables AI agents to generate, structure, and deploy Terraform modules for cloud infrastructure. It automates the creation of reusable configuration blocks that define resources across various providers.

When to use it

  • Rapidly prototype new cloud environments without writing boilerplate code from scratch.
  • Standardize infrastructure-as-code patterns across multiple projects or teams.
  • Generate complex resource definitions for services like AWS, Azure, or GCP based on high-level requirements.
  • Refactor existing monolithic Terraform files into modular, maintainable components.

Key capabilities

  • Generates valid HCL (HashiCorp Configuration Language) syntax for infrastructure resources.
  • Creates reusable module structures with proper input/output variable definitions.
  • Supports multiple cloud providers through provider-specific resource blocks.
  • Outputs ready-to-use .tf files that can be integrated into existing CI/CD pipelines.

Example prompts

  • "Create a Terraform module to provision an AWS S3 bucket with versioning enabled and public read access."
  • "Generate a reusable Azure Virtual Network module with subnets for web and app tiers."
  • "Build a GCP Compute Engine instance module that accepts machine type and zone as variables."

Tips & gotchas

Ensure your AI agent has access to the latest Terraform provider documentation to avoid generating deprecated resource types. Always validate generated modules using terraform plan before applying changes to prevent unintended infrastructure modifications.

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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
patricio0312rev
Installs
29

🌐 Community

Passed automated security scans.