empire
empire copied to clipboard
rename command does not find application
Renaming an Empire application using emp rename <oldname> <newname>
does not work in HEAD.
I wanted to rename a newly created application to match the name of the docker image that will be deployed, but emp
throws a 404 Not Found error:
➜ ~ emp apps
foobar Jun 22 16:28
➜ ~ emp rename foobar bazbat
error: Unexpected error: 404 Not Found
Tried before and after deploying to no avail.
Hey @rgabo! Currently, Empire doesn't support renaming an application, but we have plans of supporting it. There's some subtleties about renaming, like ensuring that the CNAME for the ELB is updated.
I think for the time being, the emp
command should show an error, or we should return a 501 from known endpoints that aren't implemented yet.
Thanks for the quick answer @ejholmes, not a huge issue as it is fairly straightforward to recreate the app (env, domains, ssl). Just wanted to make sure it was noticed.