Join Slack
Powered by
This message was deleted.
# general
s
sparse-intern-71089
01/08/2024, 8:04 PM
This message was deleted.
v
victorious-art-92103
01/08/2024, 8:19 PM
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
victorious-art-92103
01/08/2024, 8:19 PM
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
Open in Slack
Previous
Next