commands.sh

pulumi preview

all

Show a preview of updates to a stack's resources.

More info →

Options (2)

-j, --jsonboolean

Show a preview of updates to a stack's resources in JSON format

Example: pulumi preview {{[-j|--json]}}
-h, --helpboolean

Display help

Example: pulumi preview {{[-h|--help]}}

Examples (5)

Show a preview of updates to a stack's resources

Show a preview of updates to a stack's resources in JSON format

pulumi preview [-j|--json]

Preview updates as a rich diff showing overall changes

Preview updates using a Policy Pack (without Pulumi Cloud, best on CI/CD)

pulumi preview --policy-pack path/to/directory

Display help

pulumi preview [-h|--help]
made by @shridhargupta | data from tldr-pages