accidentially `ctrl-c` a running operation, and n...
# general
b
accidentially
ctrl-c
a running operation, and now can't reimport the state file, but JQ works.. (it's big, 13k lines).. bug ?
Copy code
root@98a0af2021a4:/data/pulumi/infra/aws/mycompany/environment/mycompany-alarms# pulumi stack import < stage
error: could not deserialize deployment: unexpected end of JSON input

root@98a0af2021a4:/data/pulumi/infra/aws/mycompany/environment/mycompany-alarms# cat stage | jq '.version'
3
the state files are in s3 and versioned, this should be the last version before my action today
i've tried a couple other verisons, same thing
i was able to just replace the file in s3 and it's loading.. to me seems like the local import of a big file has an issue
g
What was the size of the file?
b
sorry for delayed response, didn't see this.. approx 800-900KB
13k lines in file
e
@brave-angle-33257 can you help with command to import from s3? same problem =(
b
rather than import it, just upload it to s3 with the changes
❤️ 1
and do a refresh
❤️ 1
e
thank you soo much! it's working 😂
b
👍
e
seems like ctrl-c and pulumi incopatible