12/09/2021, 11:40 AM
Hey so our pulumi stack was on a cloud storage bucket, and while it was updating someone did ctrl ^c twice to mess up the state, now we can't find the stack anywhere when we do pulumi refresh, I can see the stack's folder in the cloud storage bucket... how do we proceed to restore the stack?


12/09/2021, 12:21 PM
if your directory
has a file called
, you can copy that file and name the copy
and it should be fine
pulumi always creates a backup file called
before it tries to mess with the state file (
or, at least it should
it’s saved me a few times 😅
(note that I don’t work at or on Pulumi – I’ve just had the same problem a few times)
after making the copy, I strongly suggest immediately doing a
pulumi refresh
to make sure you get any state changes that were successfully applied before the