LinuxCommandLibrary

pulumi-stack

Manage isolated infrastructure environments

TLDR

Show current stack

$ pulumi stack
copy
List all stacks
$ pulumi stack ls
copy
Select stack
$ pulumi stack select [stack]
copy
Create new stack
$ pulumi stack init [name]
copy
Delete stack
$ pulumi stack rm [name]
copy
Export stack state
$ pulumi stack export > state.json
copy

SYNOPSIS

pulumi stack [command] [options]

DESCRIPTION

pulumi stack manages stacks. Stacks are isolated instances of infrastructure (dev, staging, prod). Each stack has its own state, configuration, and resources.

PARAMETERS

ls

List stacks.
select name
Switch to stack.
init name
Create stack.
rm name
Delete stack.
export
Export state to JSON.
import
Import state from JSON.
output name
Get stack output.
history
Show deployment history.
rename name
Rename stack.
tag cmd
Manage stack tags.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community