https://pulumi.com logo
c

cool-egg-852

03/30/2020, 4:52 PM
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

gentle-diamond-70147

03/30/2020, 5:02 PM
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

cool-egg-852

03/30/2020, 5:06 PM
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

handsome-actor-1155

03/30/2020, 5:20 PM
There's an open issue for that: https://github.com/pulumi/pulumi/issues/96
c

cool-egg-852

03/30/2020, 5:20 PM
Thanks!
👍 1