At which point does the process get stuck? Is there any output?
Do you have any extremely large environment variables? I’m pretty sure there’s a limit to how big they can be. Also, I doubt this would work but try anyway, have you tried specifying the full path to the file?
It gets stuck right after I run the command. There’s no output at all.
I don’t have any large env vars - they are short enough and only 5-6 in total amount. Specifying the the full path to the file did not work unfortunately.
Not sure if it helps, I am on Linux - nothing fancy, using latest Elementary OS (it’s an Ubuntu derivative).
I just started using fly.io and had a similar issue/question. I was thinking that secrets could be imported from a file, kinda like kubernetes --from-file (would be a nice feature!).
I’m using cat .fly/secrets.dev | fly secrets import
Make sure to update your .gitignore if you do this and add: