Command Palette

Search for a command to run...

Назад к скиллам
скилл № 54291

Investigate Terraform Drift

Determine why actual infrastructure differs from Terraform state and choose a safe reconciliation path.

БесплатноБез исполняемых скриптов
bregman-arieот bregman-arie★ 30 звёзд на GitHub

Установить Investigate Terraform Drift в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

When to use

Use when a plan shows unexpected changes or monitoring indicates config drift.

Preconditions

  • You can run terraform plan against the workspace/backend.
  • You can inspect change history (VCS and/or cloud audit logs).

Procedure

  1. Run a plan and classify changes: safe/no-op, risky replacement, access-related.
  2. Identify when drift started (compare to deploys and change logs).
  3. Determine the mutator: manual console change, controller, autoscaling, policy.
  4. Decide the source of truth: Terraform config vs external system.
  5. Choose reconciliation: update config, import, ignore changes, or revert manual change.

Decision points

  • Replacement of critical resources: stop and coordinate; avoid apply during incidents.
  • Autoscaled fields: consider lifecycle ignore for managed attributes.
  • Manual hotfix required: capture it in code and remove out-of-band changes.

Verification

  • A new plan is stable (no unexpected diffs).
  • Audit logs align with expected change process.

Rollback / undo

  • Revert config commits that introduced unintended drift.
  • Restore from snapshots/backups if drift caused breakage.

Escalation

  • IaC owners for state manipulation or imports.
  • Security team if drift indicates unauthorized access.

Examples

terraform plan

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Investigate Terraform Drift?

Determine why actual infrastructure differs from Terraform state and choose a safe reconciliation path.

Как установить скилл Investigate Terraform Drift?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Investigate Terraform Drift запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Investigate Terraform Drift с