design-aws-terraform-iac

design-aws-terraform-iac is a skill for Claude Code, Codex from soulcodex/agentic. It costs 51 tokens per session (623 once invoked), scanned A, original, MIT.

A planning process for AWS infrastructure written with Terraform, a tool that describes cloud resources in configuration files. It covers services, module boundaries, environments, state storage, security, risks, and checks before implementation.

In plain words
What is it for?
Use it to design the structure and operating rules for AWS networks, security, platforms, and workloads before writing Terraform modules.
Why use it?
It reduces the chance of choosing unsuitable AWS services, mixing environments, losing Terraform state, or overlooking security and operational risks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions OpenCode.

Good fit Use it to design the structure and operating rules for AWS networks, security, platforms, and workloads before writing Terraform modules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/soulcodex/agentic/design-aws-terraform-iac
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 soulcodex/agentic --skill design-aws-terraform-iac
Clone the repo
git clone --depth 1 https://github.com/soulcodex/agentic

Made for: Claude Code, Codex.

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 design-aws-terraform-iac

README.md
[![agentmods](https://agentmods.dev/badge/skills/soulcodex/agentic/design-aws-terraform-iac/github.svg)](https://agentmods.dev/skills/soulcodex/agentic/design-aws-terraform-iac)
Your own site
<a href="https://agentmods.dev/skills/soulcodex/agentic/design-aws-terraform-iac"><img src="https://agentmods.dev/badge/skills/soulcodex/agentic/design-aws-terraform-iac/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 design-aws-terraform-iac

Your own site · 80×15
<a href="https://agentmods.dev/skills/soulcodex/agentic/design-aws-terraform-iac"><img src="https://agentmods.dev/badge/skills/soulcodex/agentic/design-aws-terraform-iac.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 623 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.
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.00051 $0.00623
Opus 5 $0.00026 $0.00311
Sonnet 5 $0.00010 $0.00125
Haiku 4.5 $0.00005 $0.00062

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

Security

Grade A, and why

design-aws-terraform-iac 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 10d 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.

skills/devops/design-aws-terraform-iac/SKILL.md · 88 lines

How it starts

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

Design AWS Terraform IaC Skill

Design AWS Terraform infrastructure before writing module code.

Always pair this skill with terraform-risk-playbook. That skill is authoritative for the response contract, failure-mode classification, version/runtime guards, validation chain, and rollback notes.

Step 1 - Confirm Scope and Constraints

Capture required outcomes:

  • workloads and critical paths
  • regions, environments, and compliance constraints
  • cost boundaries and availability targets
  • runtime and version assumptions
  • backend and execution path assumptions (local, CI, Terraform Cloud, Atlantis)

Capture non-goals to prevent accidental over-design.

Step 2 - Map Services and Responsibility Boundaries

Use aws-service-matrix.md to map each capability to:

  • primary AWS service(s)
  • related Terraform module boundary
  • key operational risks and ownership notes

Design composable modules with explicit interfaces between network, security, platform, and workload layers.

Step 3 - Define State and Environment Strategy

Decide and document:

  • remote backend (prefer s3 with use_lockfile = true; use DynamoDB locking only as a temporary compatibility bridge for older Terraform workflows)
  • state key strategy per environment and region
  • promotion model (dev -> staging -> prod)
  • drift and rollback expectations
  • explicit handling for sensitive values in state and plans

Step 4 - Define Security and Policy Baselines

Specify minimum required controls:

  • IAM least privilege for CI and runtime roles
  • encryption at rest and in transit
  • tag standards for ownership, cost, and data classification
  • log/audit coverage and retention
  • secret source-of-truth and rotation boundary (for example, Secrets Manager references rather than plaintext values in variables)

Step 5 - Produce a Design Brief and Acceptance Criteria

Output a compact design brief with:

  • service choices and tradeoffs
  • module map and dependency order
  • state strategy and CI plan/apply gate strategy
  • explicit risk categories and validation expectations
  • rollback notes for destructive or state-mutating steps
  • measurable acceptance checks from acceptance-checklist.md

Read the full file on GitHub · 88 lines

Files

What ships with it

2 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. 10d ago First seen · 88 lines · 51 tokens per session scan A b11a310ac1d7

Subscribe to this mod's changes

design-aws-terraform-iac is a skill published in the GitHub repository soulcodex/agentic (10 stars, last pushed 5d ago), licensed MIT. It adds 51 tokens to every session and 623 once invoked, about $0.0003 per session on Opus 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-08-31.

Related

Other skills, from other repositories