{
  "slug": "pulumi-cli-state-delete-accepts-multiple-resource-urns-4ea232b5bfd0",
  "title": "Pulumi CLI state delete accepts multiple resource URNs",
  "tools": [
    "pulumi"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-03-25T09:17:06.000Z",
  "announced_at": "2026-03-25T09:17:06.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When removing multiple resources from Pulumi state, pass their URNs to one `pulumi state delete` invocation; the CLI deletes them in dependency-safe order.",
    "examples": [
      "pulumi state delete '<urn-1>' '<urn-2>'"
    ],
    "gotchas": [
      "Version: v3.228.0",
      "<urn> (positional; repeatable) (required): Pulumi URN of a resource to remove from state. Quote URNs to prevent shell interpretation.",
      "The command deletes resources in a dependency-safe order.",
      "Docs conflict: The current CLI reference documents `pulumi state remove` (generated for v3.263.0), not `pulumi state delete`; it is newer than the card’s v3.228.0. Its command name and dependency behavior are not used here."
    ]
  },
  "why_it_matters": "When removing multiple resources from Pulumi state, provide their URNs to one `pulumi state delete` invocation.",
  "sources": [
    "https://github.com/pulumi/pulumi/releases/tag/v3.228.0",
    "https://www.pulumi.com/docs/iac/operations/stack-management/removing-resources-without-deleting-them/"
  ],
  "rank": 0.93025,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-20261016",
    "verdict_id": "wave1b-20261016:wave1b-20261016-7a9921b9b659935d-4:gate",
    "evidence_hash": "f1fac84f4c6bed6d920e43b90cdd2e67cc110030f6bc87d72d854011939e3923"
  },
  "review": {
    "draft_hash": "140f5d02977326928ff128e75388866fa621aabca6cdf7edcc64635b957da284",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.93 >= 0.9; 2 needed) and Jev gave 0.60 (>= 0.6 needed)."
  }
}
