This message was deleted.
# general
s
This message was deleted.
d
is there another command to restore a destroyed stack?
I guess this goes with this issue https://github.com/pulumi/pulumi/issues/6060
a
if You still have
.pulumi
directory check subdirs for state. IMHO the best option is to enable bucket versioning to prevent such.
o
I had this happen yesterday, I thought the stack was gone but it was just 'hidden' because
PULUMI_CONFIG_PASSPHRASE
wasn't set - try
pulumi --logtostderr -v5 stack ls
You're looking for a log like this
Copy code
I0325 12:24:03.303733   61977 backend.go:859] error reading stack: <STACK_NAME> (decrypting secret value: failed to decrypt: incorrect passphrase, please set PULUMI_CONFIG_PASSPHRASE to the correct passphrase) skipping
d
thanks the import from checkpoint worked 😅
I'll try the other way next time. the .pulumi folder might explain what happened, I fixed another issue (the one mentioned in the #CRH5ENVDX channel of the wrong version of the aws plugin) by asking one of my engineers to remove the .pulumi folder..