terraform-plan-review

Parse Terraform plan and apply output to flag high-risk changes and failure causes.

1|Updated Jun 11, 2026
One-click install
npx skills add https://github.com/sergeyitaly/claude-skill-deployer --skill terraform-plan-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-plan-review
Source: https://github.com/sergeyitaly/claude-skill-deployer/tree/main/skills_library/terraform-plan-review
Command: npx skills add https://github.com/sergeyitaly/claude-skill-deployer --skill terraform-plan-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually parsing raw Terraform plan and apply output is time-consuming and error-prone, with high-risk changes like resource destroys or hidden state drift easy to miss. This skill eliminates that manual effort by turning raw Terraform output into clear, actionable summaries.

Core Features & Use Cases

  • Automated Terraform Workflow Checks: Runs terraform fmt, validate, and plan in the correct order to catch formatting issues, configuration errors, and unexpected changes upfront.
  • High-Risk Change Flagging: Explicitly calls out destroy and replace operations, along with the attributes forcing replacement, to help you avoid accidental data loss.
  • Intelligent Failure Triage: Categorizes validate/plan/apply errors into permissions gaps, state drift, or real configuration bugs, with targeted, safe fixes for each category.
  • Use Case: If you are managing Azure infrastructure with Terraform and a plan fails with a 403 AuthorizationFailed error, this skill will identify it as a missing RBAC permission for the executing identity instead of a code bug, saving hours of unnecessary debugging.

Quick Start

Use the terraform-plan-review skill to run a Terraform plan for your Azure infrastructure project and get a summary of all changes and any flagged high-risk items.

Frequently Asked Questions about terraform-plan-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review a Terraform plan for high-risk resource changes?

To review a Terraform plan, parse the raw output to explicitly flag destroy and replace operations alongside the specific attributes forcing replacement, preventing accidental data loss. This turns complex Terraform output into clear, actionable summaries.

Why does my Terraform plan fail with a 403 AuthorizationFailed error on Azure?

A Terraform plan failing with a 403 AuthorizationFailed error indicates a missing RBAC permission for the executing identity rather than a code bug. Categorizing this as a permissions gap provides targeted, safe fixes to save hours of debugging.

How do I fix state drift in Terraform without manual output parsing?

Fixing state drift requires categorizing the error and providing import block recommendations for state drift remediation. This eliminates manual parsing by turning raw Terraform output into targeted guidance for resolving state drift safely.

Can I use this Terraform plan review process for Azure infrastructure workflows?

Yes, this Terraform plan review process applies to azurerm or otherwise workflows for Terraform versions 1.5 and above. It runs fmt, validate, and plan in the correct order to catch formatting issues and configuration errors upfront.

What is the best way to triage Terraform validate, plan, and apply failures?

The best way to triage Terraform failures is categorizing errors into permissions gaps, state drift, or real configuration bugs. This provides targeted, safe fixes for each category instead of manually parsing raw apply output.