bumpy-summer-9075
05/05/2021, 5:34 PMpulumi stack select foo
)? How can I see which stack is currently selected?red-match-15116
05/05/2021, 5:35 PMpulumi stack ls
should show a *
next to the current stackbumpy-summer-9075
05/05/2021, 5:37 PM~/.pulumi/workspaces
, not entirely sure I understand how workspaces work tho.
Thanks πred-match-15116
05/05/2021, 5:41 PM~/.pulumi
bored-oyster-3147
05/05/2021, 5:43 PM--stack
or -s
argument to specify the stack you want to operate on, if you want to forgo messing with what stack is currently selectedbumpy-summer-9075
05/05/2021, 5:46 PMterraform workspace show
but pulumi stack ls
will work for now (albeit a bit slow). I do use the --stack
command sometimes, especially since all my stacks are in the same project (because of https://github.com/pulumi/pulumi/issues/2814)bored-oyster-3147
05/05/2021, 5:47 PMbumpy-summer-9075
05/05/2021, 5:55 PMpulumi stack ls
still returns all the stacks of all the projects that share the backend. So I could technically have
.
βββ a
βΒ Β βββ Pulumi.yaml
βββ b
βββ Pulumi.yaml
and go into b
and do pulumi stack select a.dev
bored-oyster-3147
05/05/2021, 5:58 PMbumpy-summer-9075
05/05/2021, 6:00 PM-s
on every command, or change selected stack in each folder (but that's very error prone)bored-oyster-3147
05/05/2021, 6:08 PM-s
on everything is a good solution