WaspW
Wasp3y ago
18 replies
hometechdad

How do you set the org slug when deploying to Fly.io

How do you specify what organization you want to deploy to in Fly.io when using wasp deploy fly launch my-wasp-app mia ? I tried the fly commands of -o and --org but neither worked. If I do not add the org, it is failing with this error:
Error: org slug must be specified when not running interactively.

I added a 2nd organization to my fly.io account because when I first tried, I received an error stderr: "automatically selected personal organization: Jonathan\n" + "Error: Validation failed: Name may only contain numbers, lowercase letters and dashes\n" + "\n", I thought maybe the personal account name had an issue.. But looking back, the "\n" may be due to using WSL?? Not really sure...
Was this page helpful?