{
  "slug": "pulumi-up-preview-and-destroy-accept-ignore-protect-9c66b527bae7",
  "title": "pulumi up, preview, and destroy accept --ignore-protect",
  "tools": [
    "pulumi"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-08-04T19:34:54.000Z",
  "announced_at": "2026-08-04T19:34:54.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When an update, preview, or destroy must delete a protected resource, add `--ignore-protect` to that Pulumi command. It allows the operation to proceed without first unprotecting the resource in state.",
    "examples": [
      "pulumi up --ignore-protect",
      "pulumi preview --ignore-protect",
      "pulumi destroy --ignore-protect"
    ],
    "gotchas": [
      "Version: 3.256.0",
      "--ignore-protect: Ignore the protect resource option for this operation, allowing protected resources to be deleted. The current docs warn deleted resources cannot be recovered.",
      "Docs conflict: The CLI reference is generated for v3.268.0, newer than the card’s v3.256.0; its flag descriptions also mention replacement in `up` and `preview`."
    ]
  },
  "why_it_matters": "Delete a protected resource during an update, preview, or destroy operation.",
  "before": "Unprotect the resource first, either by setting `protect: false` and running `pulumi up`, or with `pulumi state unprotect`; then delete it in a subsequent update.",
  "sources": [
    "https://github.com/pulumi/pulumi/releases/tag/v3.256.0",
    "https://www.pulumi.com/docs/iac/cli/commands/pulumi_up/",
    "https://www.pulumi.com/docs/iac/cli/commands/pulumi_preview/",
    "https://www.pulumi.com/docs/iac/cli/commands/pulumi_destroy/",
    "https://www.pulumi.com/docs/iac/concepts/resources/options/protect/"
  ],
  "rank": 0.98028,
  "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-4fe97ec49cc6805c-0:gate",
    "evidence_hash": "87bdaadfe027ea41cd72eaad30f1f715220701beea330b04d1869c8faa4f82aa"
  },
  "review": {
    "draft_hash": "f0f38f641caf6852c429ad726b465ca1e7a1bb518d4f349201caa0fb871b1fd3",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.98 >= 0.9; 2 needed) and Jev gave 0.72 (>= 0.6 needed)."
  }
}
