It would be awesome if we could rename apps from their auto generated names
Your request is noted. It’s something that we can’t do at the moment.
That said you could do this at your own risk
Make an empty directory
run flyctl init
in there
enter your desired name
Set the builder to None
Make sure you select the same organization
This will write out a fly.toml
file
In there should be app="your desired name"
make a note…
Go back to the original app
edit fly.toml
make a note of the original generated app name
replace that name with your desired name in the app=""
line
save
and then run flyctl deploy
And the app will go live - your old app is still running
What won’t be copied across - 1: your secrets, 2: your certs. You’ll have to recreate them. And your app will have new IP addresses.
But you’ll have your desired application name.
Oh and once everything on the new name is working, don’t forget to flyctl destroy originalappname
Thanks for that detailed solution.
Just an idea, could there be a higher level abstraction like a nickname that can be used in the GUI and toml?
Any updates?