pulumi-stack

Manage isolated infrastructure environments

TLDR

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

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.

INSTALL

sudo pacman -S pulumi
sudo apk add pulumi
brew install pulumi
nix profile install nixpkgs#pulumi

SEE ALSO

pulumi(1), pulumi-up(1), pulumi-config(1)