pulumi stack

Manage stacks

Subcommands

NameDescription
change-secrets-providerChange the secrets provider for the current stack
exportExport a stack’s deployment to standard out
graphExport a stack’s dependency graph to a file
history[PREVIEW] Display history for a stack
importImport a deployment from standard in into an existing stack
initCreate an empty stack with the given name, ready for updates
lsList stacks
outputShow a stack’s output properties
renameRename an existing stack
rmRemove a stack and its configuration
selectSwitch the current workspace to the given stack
tagManage stack tags

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
--show-nameDisplay only the stack name
--show-secretsDisplay stack outputs which are marked as secret in plaintext
-i, --show-idsDisplay each resource's provider-assigned unique ID
-u, --show-urnsDisplay each resource's Pulumi-assigned globally unique URN