Skip to content

skilldrop·docs·How-to

Use terraform-module

Generate a Terraform module from a described need, with main.tf, variables.tf, outputs.tf and versions.tf, typed and validated variables, secure defaults (encryption on…

Generate a Terraform module from a described need, with main.tf, variables.tf, outputs.tf and versions.tf, typed and validated variables, secure defaults (encryption on, public access off, least-privilege IAM), a merged tags variable, a basic usage example and a README with inputs and outputs tables.

Reach for it when the user says "write a terraform module for", "create terraform for an S3 bucket / VPC / database", "turn this into a reusable module", or "scaffold infrastructure as code for".

Install it

npx skilldrop-cli install terraform-module                 # Claude Code, your user folder
npx skilldrop-cli install terraform-module --project       # Claude Code, this repo
npx skilldrop-cli install terraform-module --ide cursor    # or kiro, codex, antigravity, copilot

It is part of the Infrastructure as code pack: --pack infra-as-code installs it with its neighbours.

Ask for it

Say it the way you would to a colleague. Requests like these route to it:

Requests like these belong to a different skill, so it shouldn't answer them:

If another skill answers instead, ask for this one by name: "use terraform-module".

Check what you get

A good result:

See a worked example

Use something else when

Next

Edit this page on GitHub · View source