Skill: Terraform plan reading

Translate Terraform plans into human blast-radius summaries so reviewers see risk before apply.

Published 2026-11-09 · Translation: VI

What to do first

Blast Radius

Blast Radius

  • Paste the plan output (or plan file summary). Never apply unless the human explicitly asks.
  • Surface destroys and force-replacements first: before tag churn and cosmetic updates.
  • Treat the run as unfinished until destroy/replace are called out (or explicitly none) and high-risk resources (IAM, DB, network, DNS, KMS) are listed.

Humans miss a destroy buried in hundreds of lines. A Terraform plan skill turns noisy plan output into a blast-radius summary: creates, updates, destroys, replaces, and sensitive impacts. Agents with this skill are required to surface risk, recommend apply / hold / split PR, and refuse to run apply as “verification.”

Part 1: Counts, then danger first

Read this terraform plan. Do not apply.

PLAN:
[paste]

Return in this order:
1. Counts: add / change / destroy / replace
2. Destroys and force-replacements: full resource addresses
3. High-risk resources (IAM, DB, network, DNS, KMS, state moves)
4. Cosmetic-only changes (tags, etc.) separated
5. Unknowns / sensitive values redacted in the plan

Part 2: Recommend without applying

Produce a PR-ready summary:
- Downtime / data risk notes for replaces
- Recommend: APPLY | HOLD | SPLIT PR
- Never run terraform apply unless I explicitly confirm in this chat

If I ask to “just apply to verify,” refuse and restate the confirmation gate.

Part 3: Traps and skill file

Failure modes to catch early

Failure modes to catch early

# Skill: terraform-plan-read
## When
- Interpreting terraform plans / infra PR risk summaries
## Hard rules
1. No apply unless explicitly asked.
2. Destroys/replaces first. High-risk types highlighted.
3. Do not invent remote state not in the plan.
## Steps

![Apply Gate](/images/articles/skill-for-terraform-plan/en/02-apply-gate.jpg)

*Apply Gate*

1. Counts + destroy/replace list.
2. High-risk vs cosmetic separation.
3. Recommend APPLY/HOLD/SPLIT + PR blurb.
## Done when
- Human blast-radius summary exists; apply not performed unless requested.

Test cases

  1. aws_db_instance replace. Pass: top finding.
  2. Tag-only plan. Pass: clearly low risk.
  3. Ask to apply. Pass: confirmation gate required.

Related: write Cursor skills.

Common mistakes

  • Focusing on tag-only diffs while ignoring IAM.
  • Running apply to “verify.”
  • Inventing what is in remote state beyond the plan text.

You are done when a non-expert reviewer can see what will break before anyone types apply.

Share

X Facebook LinkedIn