I also tried to download a checkpoint file from th...
# general
s
I also tried to download a checkpoint file from the storage bucket manually, and then tried to import the stack from this file, but this command also fails:
Copy code
pulumi stack import --file ~/Downloads/pulumi_history_experiments_experiments-1574820036002431000.checkpoint.json

error: could not deserialize deployment: unexpected end of JSON input
w
What are the contents of that file? Is it legal JSON? How did you get that file?
s
Yes, it was generated by pulumi before. I've just been able to import the stack successfully with the
--force
flag:
Copy code
pulumi stack import --disable-integrity-checking --file ~/Downloads/pulumi_history_experiments_experiments-1574820036002431000.checkpoint.json --force
So it seems like a bug with the
pulumi stack import
command? I can open a github issue for this if that would help.
w
Huh - that is very unexpected. Yes - an issue would be great - especially if it’s something you can reproduce.
s
Tried a
pulumi up --refresh
afterwards, and hit an exception actually. I'll add details in a github issue.