{
  "slug": "pulumi-config-set-preserves-piped-newlines-with-raw-a03331edfe5d",
  "title": "pulumi config set preserves piped newlines with --raw",
  "tools": [
    "pulumi"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-18T14:11:01.000Z",
  "announced_at": "2026-06-18T14:11:01.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When setting a value from stdin and preserving trailing newlines, pipe the input to `pulumi config set` with `--raw`.",
    "examples": [
      "printf 'hello\\n' | pulumi config set --raw <key>"
    ],
    "gotchas": [
      "Version: v3.247.0",
      "<key> (required): Configuration key to set.",
      "--raw (required): When setting the value through stdin, do not trim trailing newlines.",
      "The flag applies when input is piped through stdin."
    ]
  },
  "why_it_matters": "Set a configuration value from stdin while preserving its newline characters.",
  "before": "Without `--raw`, trailing newlines from stdin are stripped.",
  "sources": [
    "https://github.com/pulumi/pulumi/releases/tag/v3.247.0",
    "https://www.pulumi.com/docs/iac/cli/commands/pulumi_config_set/"
  ],
  "rank": 0.9402,
  "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-3edde917c11740b0-0:gate",
    "evidence_hash": "749fbc8f6ca8c92a491b8316d0928e430b0f042fdbc4897c8529b4ca8e78fb3f"
  },
  "review": {
    "draft_hash": "7c5c262628fd8bd0b957dc8552ed16d36c8b5e1372296780c7d2b93a91646a5b",
    "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.94 >= 0.9; 2 needed) and Jev gave 0.62 (>= 0.6 needed)."
  }
}
