commands.sh

pulumi stack

all

Manage stacks and view stack state.

More info →

Options (2)

-u, --show-urnsboolean

Show the stack state along with resource URNs

Example: pulumi stack {{[-u|--show-urns]}}
-a, --allboolean

List stacks across all projects

Example: pulumi stack ls {{[-a|--all]}}

Examples (8)

Create a new stack

pulumi stack init stack_name

Show the stack state along with resource URNs

pulumi stack [-u|--show-urns]

List stacks in the current project

List stacks across all projects

pulumi stack ls [-a|--all]

Select an active stack

pulumi stack select stack_name

Delete a stack

pulumi stack rm stack_name

Show stack outputs, including secrets, in plaintext

pulumi stack output --show-secrets

Export the stack state to a JSON file

pulumi stack export --file path/to/file.json
made by @shridhargupta | data from tldr-pages