terraform:apply

Apply Terraform plans with confirmation gates for risky changes.

1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/fabn/claude-plugins --skill terraform-apply-fabn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform:apply
Source: https://github.com/fabn/claude-plugins/tree/main/plugins/terraform/skills/apply
Command: npx skills add https://github.com/fabn/claude-plugins --skill terraform-apply-fabn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents accidental destructive infrastructure changes in Terraform by enforcing planning, categorization of safe/risky/destructive resources, and mandatory user confirmations before applying updates.

Core Features & Use Cases

  • Automated Planning and Categorization: Discovers modules, runs plans, and classifies changes as safe, risky, or destructive with clear impact descriptions.
  • Confirmation Gates and Targeted Applies: Offers options to apply only safe resources first, requires explicit acknowledgments for deletions, and handles mixed plans securely.
  • Use Case: When updating a production AWS environment, use this Skill to review a plan showing new instances as safe and an old bucket deletion as destructive, then apply only the safe parts while gating the risky one for later review.

Quick Start

Invoke the terraform apply skill by saying "apply the terraform changes to the main module after reviewing the plan."

Frequently Asked Questions about terraform:apply

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

FAQPage Schema
How do I prevent accidental destructive changes when applying Terraform plans?

To prevent destructive changes during Terraform applies, this Skill categorizes planned resources into safe, risky, and destructive groups, enforcing mandatory user confirmation gates before executing any risky or destructive modifications.

Can I apply only safe Terraform resources and gate destructive ones for later?

Yes, you can apply only safe resources first. The Skill handles mixed plans securely by offering targeted applies for safe changes while requiring explicit acknowledgments for risky deletions, allowing you to gate destructive updates for later review.

How does Terraform apply handle module discovery and targeted executions in multi-module repositories?

For multi-module repositories, the Terraform apply process discovers modules, runs plans, and handles dependency expansion during targeted executions. It also includes error recovery from init failures to ensure scoped applies complete reliably.

What is the best way to review a Terraform plan showing mixed safe and destructive updates?

The best way to review mixed Terraform updates is using automated planning and categorization, which classifies changes as safe, risky, or destructive with clear impact descriptions before you approve any modifications.

Does this Terraform apply process require explicit user acknowledgments for risky infrastructure modifications?

Yes, the Terraform apply process requires explicit user acknowledgments for risky and destructive infrastructure modifications, ensuring you review and approve changes like old bucket deletions before they are executed in production environments.

What happens when Terraform init failures occur during a scoped apply in multi-module repositories?

When Terraform init failures occur during scoped applies, this process provides error recovery to handle the failures, allowing module discovery and targeted executions to proceed safely after resolving initialization issues.