sincecutoff.com
← all changes

pulumi refresh supports JSON operation summaries

Introduced 2026-05-18 · score 0.96

HOW TO USE IT

When a script needs structured output from a Pulumi refresh, run `pulumi refresh --output json` to get a JSON summary of the operation result.

pulumi refresh --output json

WHY THIS HELPS

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

REQUIREMENTS AND LIMITATIONS

  • Version: v3.241.0
  • --output json (required): The v3.241.0 release note says this option makes `pulumi refresh` emit a structured JSON summary of the operation result.
  • Docs conflict: The current Pulumi CLI reference is generated for v3.268.0 and documents `-j, --json` for JSON refresh output, rather than the `--output json` syntax stated in the v3.241.0 release note. Its documented behavior is to serialize refresh diffs, operations, and overall output as JSON: https://www.pulumi.com/docs/iac/cli/commands/pulumi_refresh/

FIRST-PARTY EVIDENCE

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

Report a problem with this card