LinuxCommandLibrary

pulumi-preview

Preview infrastructure changes before deployment

TLDR

Preview changes

$ pulumi preview
copy
Preview specific stack
$ pulumi preview -s [stack]
copy
Preview with detailed diff
$ pulumi preview --diff
copy
Preview in JSON format
$ pulumi preview --json
copy
Preview specific targets
$ pulumi preview --target [urn]
copy

SYNOPSIS

pulumi preview [options]

DESCRIPTION

pulumi preview shows planned changes without applying them. Compares desired state with current infrastructure. Essential for reviewing changes before deployment.

PARAMETERS

-s, --stack name

Target stack.
--diff
Show detailed diff.
--json
Output as JSON.
--target urn
Preview specific resources.
--refresh
Refresh state before preview.
--expect-no-changes
Error if changes detected.
-p, --parallel n
Parallelism level.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community