CmdID

CmdID / Commands

pulumi-stack

Manage stacks and view stack state. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Create a new stack

pulumi stack init stack_nameIdentify

Show the stack state along with resource URNs

pulumi stack --show-urnsIdentify

List stacks in the current project

pulumi stack lsIdentify

List stacks across all projects

pulumi stack ls --allIdentify

Select an active stack

pulumi stack select stack_nameIdentify

Delete a stack

pulumi stack rm stack_nameIdentify

Show stack outputs, including secrets, in plaintext

pulumi stack output --show-secretsIdentify

Export the stack state to a JSON file

pulumi stack export --file path/to/file.jsonIdentify