pulumi preview

Show a preview of updates to a stack’s resources

Options

NameDescription
--color <mode>Colorize output. Choices are: always, never, raw, auto (default "auto")
-C, --cwd <path>Run pulumi as if it had been started in another directory
--disable-integrity-checkingDisable integrity checking of checkpoint files
-e, --emojiEnable emojis in the output
--logflowFlow log settings to child processes (like plugins)
--logtostderrLog to stderr instead of to files
--non-interactiveDisable interactive mode for all commands
--profilingEmit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively
--tracing <file>Emit tracing to the specified endpoint. Use the file: scheme to write tracing data to a local file
-v, --verbose <int>Enable verbose logging (e.g., v=3); anything >3 is very verbose
-s, --stack <stack-name>The name of the stack to operate on. Defaults to the current stack
-p, --parallel <int>Allow P resource operations to run in parallel at once (1 for no parallelism). Defaults to unbounded. (default 2147483647)
-m, --message <message>Optional message to associate with the destroy operation
--diffDisplay operation as a rich diff showing the overall change
-d, --debugPrint detailed debugging output during resource operations
--config-file <file>Use the configuration values in the specified file rather than detecting the file name
--suppress-permalink <bool>Suppress display of the state permalink
-t, --target <stringArray>Specify a single resource URN to destroy. All resources necessary to destroy this target will also be destroyed. Multiple resources can be specified using: --target urn1 --target urn2
-j, --jsonSerialize the update diffs, operations, and overall output as JSON
-r, --refresh <bool>Refresh the state of the stack's resources before this update
--show-configShow configuration keys and variables
--show-replacement-stepsShow detailed resource replacement creates and deletes instead of a single step
--show-samesShow resources that don't need to be updated because they haven't changed, alongside those that do
--suppress-outputsSuppress display of stack outputs (in case they contain sensitive values)
--target-dependentsAllows destroying of dependent targets discovered but not specified in --target list
-c, --config <stringArray>Config to use during the preview
--config-pathConfig keys contain a path to a property in a map or list to set
--expect-no-changesReturn an error if any changes are proposed by this preview
--policy-pack <strings>Run one or more policy packs as part of this update
--policy-pack-config <strings>Path to JSON file containing the config for the policy pack of the corresponding"--policy-pack" flag
--replace <stringArray>Specify resources to replace. Multiple resources can be specified using --replace urn1 --replace urn2
--show-readsShow resources that are being read in, alongside those being managed directly in the stack
--target-replace <stringArray>Specify a single resource URN to replace. Other resources will not be updated. Shorthand for --target urn --replace urn