https://pulumi.com logo
Title
v

victorious-exabyte-70545

07/15/2021, 5:13 PM
.pulumi/history/dev/dev-1626238159454148000.checkpoint.json
c

clever-sunset-76585

07/15/2021, 5:30 PM
Yes, you should be able to. However, I think you might need to adjust its format to match the structure that the
pulumi stack import
command expects. If you get an import error, you’d have to update its structure to match https://github.com/pulumi/pulumi/blob/042e0061d4e32824c22c18b72e764a482ecfa3ac/sdk/go/common/apitype/core.go#L160 and the
Deployment
property’s struct is https://github.com/pulumi/pulumi/blob/042e0061d4e32824c22c18b72e764a482ecfa3ac/sdk/go/common/apitype/core.go#L108. I am also curious if you are able to reproduce the issue that put you in this situation? If you are, it would be awesome if you could open an issue for it.
v

victorious-exabyte-70545

07/15/2021, 5:58 PM
Thanks for the response. I also see a .bak file that is created. Is one generated after every update to the stack? I am guessing I could have restored from this as well?
If the failure case happens again I will be sure to post here.
c

clever-sunset-76585

07/15/2021, 6:00 PM
You could check the
.bak
file and see if you can use that as the previous version to revert to as well.
👍 1