Is there a way to reset the stack state to a previ...
# general
c
Is there a way to reset the stack state to a previous version? Something broke with my connection, and now pulumi thinks every resource is new.
I found the checkpoints online in the app
g
Yea, that's the best way. Download the old state from the console and
pulumi stack import ...
with it.
It's available via the CLI too -
pulumi stack export --version ...
.
c
It would be nice if there was a guided way of restoring an old version
Like
pulumi stack rollback
And it showed you all the versions and you use the arrow keys to navigate and pick the one you want
h
There's an open issue for that: https://github.com/pulumi/pulumi/issues/96
c
Thanks!
👍 1