mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:02:09 +02:00
pulumi-stack: add page (#14052)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
parent
ea7549fbec
commit
087b13c0d3
1 changed files with 32 additions and 0 deletions
32
pages/common/pulumi-stack.md
Normal file
32
pages/common/pulumi-stack.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# pulumi stack
|
||||
|
||||
> Manage stacks and view stack state.
|
||||
> More information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_stack/>.
|
||||
|
||||
- Create a new stack:
|
||||
|
||||
`pulumi stack init {{stack_name}}`
|
||||
|
||||
- View the stack state:
|
||||
|
||||
`pulumi stack`
|
||||
|
||||
- List known stacks:
|
||||
|
||||
`pulumi stack ls`
|
||||
|
||||
- Select an active stack:
|
||||
|
||||
`pulumi stack select {{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}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`pulumi stack --help`
|
Loading…
Add table
Reference in a new issue