terraform-state-operations

Community

Safe Terraform state surgery with approvals.

Authorlgbarn
Version1.0.0
Installs0

System Documentation

What problem does it solve?

State operations modify Terraform's understanding of infrastructure without changing actual resources. These operations can easily cause drift, orphan resources, or unintended recreations if not carefully managed.

Announce at start: "I'm using the terraform-state-operations skill for safe state surgery."

Core Features & Use Cases

  • Create a backup before any state operation (local or remote) to enable rollback.
  • Enforce an explicit approval workflow and maintain an operation record.
  • Provide safe state mv, state rm, and import workflows with verification steps and rollback planning.

Quick Start

Back up the Terraform state, obtain explicit approval, and verify a plan before performing any state move, remove, or import operation.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: terraform-state-operations
Download link: https://github.com/lgbarn/devops-skills/archive/main.zip#terraform-state-operations

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.