terraform-knowledge-patch

Official

Prevent Terraform/OpenTofu API mistakes

AuthorNevaberry
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This knowledge patch prevents outdated or incorrect Terraform and OpenTofu usage by providing concise, versioned guidance about new language features, lifecycle semantics, and provider behaviors that models often miss after training cutoffs.

Core Features & Use Cases

  • Ephemeral secrets and write-only arguments: Explains ephemeral variables, ephemeral resources, ephemeralasnull, and _wo attributes for secrets that must not be persisted to state.
  • Validation, imports, and identity: Details cross-object variable validation, structured identity imports, and bulk import/query workflows to avoid fragile import patterns.
  • Stacks, Actions, and OpenTofu divergences: Covers component-based Stacks (HCP), provider-defined Actions (day-2 operations), and OpenTofu-specific features like enabled lifecycle, const variables, and state encryption differences.
  • Use Case: Use this patch to check module refactors, secret handling changes, import migrations, or when switching between Terraform and OpenTofu to avoid breaking changes and unsafe state manipulations.

Quick Start

Load the terraform-knowledge-patch and ask the assistant to analyze your Terraform/OpenTofu configuration for deprecated APIs, ephemeral secret handling, and provider-specific import guidance.

Dependency Matrix

Required Modules

None required

Components

references

💻 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-knowledge-patch
Download link: https://github.com/Nevaberry/nevaberry-plugins/archive/main.zip#terraform-knowledge-patch

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 471,000+ vetted skills library on demand.