This message was deleted.
# general
s
This message was deleted.
v
I would say wrap over it with some tooling that uses createOrSelectStack: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/automation/#LocalWorkspace-createOrSelectStack
If you need to do it in the shell,
pulumi stack select -s <stack>
will return non-zero if it can't select the stack. Check for non-zero and init as needed.
1