Command Palette

Search for a command to run...

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

plan-modifier-cannot-null-a-configured-empty-list

Use when asked for a plan modifier that turns a configured empty list or set into null (NormalizeEmptyListToNull, a planEmptyAs key). Terraform core rejects…

БесплатноБез исполняемых скриптов
coralogixот coralogix★ 22 звезды на GitHub

Установить plan-modifier-cannot-null-a-configured-empty-list в Claude Code и Claude Desktop

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

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

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

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

A plan cannot turn a configured [] into null

Trigger: An Optional attribute that is not computed has x = [] in the configuration, and a plan modifier sets the plan to null.

Proof: terraform plan fails with Provider produced invalid plan ... planned value cty.NullVal(...) does not match config value cty.ListValEmpty(...). For a nested list the text is planned for absence but config wants existence. It holds at the top level, in a list item, and for a ListNestedAttribute.

Why: Core accepts a plan that differs from a non-null configured value only when the plan equals a non-null prior value. A null plan for [] never qualifies, so the modifier cannot take effect.

Fix: Keep [] in the plan, and make the read give the plan back. readEmptyAs: "null" makes a response without values null, and generated state keeps the form ([] or null) that the plan or the prior state has. Do not add a plan-side key.

Check: A throwaway resource.UnitTest with a one-attribute provider shows it in seconds. Delete it afterwards.

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

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

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

FAQ

Что делает скилл plan-modifier-cannot-null-a-configured-empty-list?

Use when asked for a plan modifier that turns a configured empty list or set into null (NormalizeEmptyListToNull, a planEmptyAs key). Terraform core rejects it: Provider produced invalid plan.

Как установить скилл plan-modifier-cannot-null-a-configured-empty-list?

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

Скилл plan-modifier-cannot-null-a-configured-empty-list запускает скрипты?

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

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

Сравнить plan-modifier-cannot-null-a-configured-empty-list с