For the CI/CD pipline how do we check that the sta...
# general
c
For the CI/CD pipline how do we check that the stack already exists? When I call
pulumi stack init my-stack
and the stack already exists pulumi throws an error
error: no stack named 'my-stack' found
I think pulumi cli should rather say something like
stack named 'my-stack' already exist. OK
g
I believe
pulumi stack select my-stack --create
is equivalent to this.
👍 1
c
Awsome it works thanks 👍!