1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-27 21:55:28 +02:00
tldr/pages/common/pulumi-preview.md
Daniel Guerrero 88f6f01a8a
pulumi-policy: add page (#17231)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
2025-07-18 05:05:02 +03:00

594 B

pulumi preview

Show a preview of updates to a stack's resources. More information: https://www.pulumi.com/docs/iac/cli/commands/pulumi_preview/.

  • Show a preview of updates to a stack's resources:

pulumi preview

  • 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:

pulumi preview --diff

  • 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]}}