sincecutoff.com
← all changes

pulumi preview supports JSON operation summaries

Introduced 2026-05-18 · score 0.98

HOW TO USE IT

When a script needs structured output from a preview, run `pulumi preview --output json` to emit a JSON operation summary to stdout.

pulumi preview --output json

WHY THIS HELPS

Review a Pulumi preview result in a script that needs structured output.

REQUIREMENTS AND LIMITATIONS

  • Version: v3.241.0
  • --output (required): Select the output format; use `json` for the operation summary. Mutually exclusive with `--json`.
  • json (value for --output) (required): Emit an object containing `result`, `duration`, and per-operation-kind counts in `summary`.
  • Docs conflict: The current Pulumi CLI reference is generated for v3.268.0 and documents `--json` for serialized preview diffs, operations, and overall output; it does not document `--output`. This differs from the v3.241.0 release note, so that newer reference was not used to describe the new flag.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card