terraform-engineer

terraform-engineer is a skill for Claude Code from Jeffallan/claude-skills. It costs 63 tokens per session (1,858 once invoked), scanned A, original, MIT.

A Terraform infrastructure-as-code guide for managing resources on AWS, Azure, and Google Cloud. Infrastructure as code means describing servers and cloud services in files so they can be reviewed and changed systematically.

In plain words
What is it for?
It helps create Terraform modules, configure providers and remote state, import existing resources, resolve state conflicts, run formatting and validation checks, review plans, and apply approved changes.
Why use it?
It helps validate infrastructure changes before they are applied and makes destructive changes visible for approval. It also covers shared state, reusable modules, security settings, and multiple environments.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fullstack-dev-skills plugin — 72 skills, 2 commands, 8 agents, 4 hooks shipped together

Good fit It helps create Terraform modules, configure providers and remote state, import existing resources, resolve state conflicts, run formatting and validation checks, review plans, and apply approved changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeffallan/claude-skills/terraform-engineer
About the project

claude-skills is a collection of specialized skills that extends Claude Code for full-stack development. Developers use it for programming languages, frameworks, infrastructure, APIs, testing, DevOps, security, data and machine learning, platform tasks, and project workflows.

Jeffallan/claude-skills · 12,602 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Jeffallan/claude-skills --skill terraform-engineer
Clone the repo
git clone --depth 1 https://github.com/Jeffallan/claude-skills

Made for: Claude Code.

Or install fullstack-dev-skills, the plugin that ships this one along with the rest of its 72 skills, 2 commands, 8 agents, 4 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for terraform-engineer

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeffallan/claude-skills/terraform-engineer/github.svg)](https://agentmods.dev/skills/jeffallan/claude-skills/terraform-engineer)
Your own site
<a href="https://agentmods.dev/skills/jeffallan/claude-skills/terraform-engineer"><img src="https://agentmods.dev/badge/skills/jeffallan/claude-skills/terraform-engineer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for terraform-engineer

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeffallan/claude-skills/terraform-engineer"><img src="https://agentmods.dev/badge/skills/jeffallan/claude-skills/terraform-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,858 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 22 Nov 2026
  • Snyk fail 1 Dec 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.01858
Opus 5.5 $0.00025 $0.00743
Sonnet 5.5 $0.00013 $0.00372
Haiku 4.5 $0.00006 $0.00186

Measured 3d ago against content hash 2eec11cc3ea1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

terraform-engineer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/skills/terraform-engineer/SKILL.md · 189 lines

How it starts

The opening of the file, as written. The whole thing — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Terraform Engineer

Senior Terraform engineer specializing in infrastructure as code across AWS, Azure, and GCP with expertise in modular design, state management, and production-grade patterns.

Core Workflow

  1. Analyze infrastructure — Review requirements, existing code, cloud platforms
  2. Design modules — Create composable, validated modules with clear interfaces
  3. Implement state — Configure remote backends with locking and encryption
  4. Secure infrastructure — Apply security policies, least privilege, encryption
  5. Validate and test — Run terraform fmt -recursive and terraform validate, then tflint (and trivy config or checkov where available; tfsec is deprecated in favor of Trivy), then terraform test when .tftest.hcl files exist; if any errors are reported, fix them and re-run until all checks pass cleanly before proceeding
  6. Plan and review — Run terraform plan -out=tfplan and extract a summarized plan highlighting creates, updates, deletes, and especially any destructive actions (recreations or deletions); if the plan fails, see error recovery below
  7. Approve and apply — Present the plan summary to the user and ask for explicit approval. Only execute terraform apply tfplan after receiving confirmation. Refuse to apply the plan if approval is withheld, or if destructive changes are present and the user has not explicitly accepted them

Error Recovery

Validation failures (step 5): Fix reported errors → re-run terraform validate → repeat until clean. For tflint warnings, address rule violations before proceeding.

Plan failures (step 6):

  • State drift — Run terraform apply -refresh-only to review and reconcile state with real resources (terraform refresh is deprecated). Realign specific resources with import, moved, or removed blocks; fall back to terraform import / terraform state mv / terraform state rm only on Terraform versions without them. Then re-plan.
  • Provider auth errors — Verify credentials, environment variables, and provider configuration blocks; re-run terraform init if provider plugins are stale, then re-plan.
  • Dependency / ordering errors — Add explicit depends_on references or restructure module outputs to resolve unknown values, then re-plan.

Read the full file on GitHub · 189 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +3 lines 2eec11cc3ea1
  2. 13d ago Changed · +36 lines 3e9681b66ffd
  3. 2mo ago First seen · 150 lines · 63 tokens per session scan A 781ae1b01681

Subscribe to this mod's changes

terraform-engineer is a skill published in the GitHub repository Jeffallan/claude-skills (12,602 stars, last pushed yesterday), licensed MIT. It adds 63 tokens to every session and 1,858 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-04.

Related

terraform-engineer compared with skills from other repositories

terraform-engineer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
terraform-engineerJeffallan/claude-skillsSkill13kyesterdayMITA63Claude Code
dotnet-envlandim32/awesome-ai-skillsSkill17d agoMITA40Claude Code
deploy-prodlandim32/awesome-ai-skillsSkill17d agoMITA40Claude Code
latchbio-integrationK-Dense-AI/scientific-agent-skillsSkill59k4d agoMITA78Claude Code
add-vercelnanocoai/nanoclawSkill31kyesterdayMITB54Claude Code
timescaledb-hyperfunctionstimescale/pg-aiguideSkill1.9k2d agoApache-2.0A298Cursor
pgvector-semantic-searchtimescale/pg-aiguideSkill1.9k2d agoApache-2.0A190Cursor