mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 00:46:42 +00:00
30 lines
687 B
Plaintext
30 lines
687 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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]}}`
|