many-spring-73557
10/08/2020, 4:41 PMctrl-c
in the middle of a pulumi up
, and it apparently removed the stack state (similar to https://pulumi-community.slack.com/archives/C84L4E3N1/p1596230652357900). I am now trying to pulumi stack import
from one of the many files in .pulumi/backups/<my stack>
but get the error: error: could not deserialize deployment: unexpected end of JSON input
. Logging to stderr gives a tiny bit more info: main.checkDeploymentVersionError
. I’m using GCP w/ google storage as the state backend.
jq
parses the file fine. Any ideas why I wouldn’t be able to import a backup? Is there any documentation on restoring from backups? I couldn’t find any on the docs site. All the resources still exist in GCP - I’m hoping there’s a way to reconnect pulumi to them