Closed aguschin closed 1 year ago
@aguschin I can pick this up.
flyctl
has a flag --reuse-app
which can be used to Continue even if app name clashes with an existent app
. I think this has a side-effect but with the non interactive mode the other option is just to show better errors from the flyctl output.
Let me know. what you think.
@aminalaee, I think using it is fine TBH. Let's apply --reuse-app
then.
For the reference, we had an extensive discussion about that in https://github.com/iterative/mlem/issues/463, but I don't think we have the capacity to implement it soon, so your suggestion LGTM.
If you created an app (e.g.
app-name
istest-app-mlem
and deployment file isapp-first.mlem
), but want to use the same fly app (app name) in a different deployment (e.g.app.mlem
), you're getting this error.It happens because
flyctl
asks you to confirm re-deployment. But the error doesn't explain itself anyhow - you'll be left wondering what happened.