-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for updating env variables without restarting app #1570
Comments
Agreed. In our use case, we setup user connections to the database, and adding or removing users causes app restarts on each change. It'd be great if we could bulk up the changes to ENV variables for addon:attach and detach of the credentials, then do a restart. (I browned out our site the other day running a script to move users to a new follower, forgetting that each remove AND each add triggers a separate restart). |
Any feedback from the maintainers on this proposal? |
Indeed this feature would be very useful |
Heroku should strongly consider this proposal |
While this doesn't solve the challenge with addon-related config var updates restarting the app, it does help for other types of config var changes. |
Any news regarding this issue? |
This would be very useful +1 |
Very useful to have it. I am now trying to deploy a new version for my app where production credentials are used. It would be great to have an argument were one could set env vars for the deploy: --vars RAILS_MASTER_KEY=XXXX |
At present, the
heroku config:set
and:unset
CLI commands will restart the app immediately after applying the env variable change.This might not always be desirable. For instance, if I'm adding env variables that will be only consumed by the next release of the app, it does not make sense to restart the currently deployed app.
Coming from Cloud Foundry I've found this very surprising, as
cf
client doesn't do implicit restarts after manipulating environment but rather has a dedicatedrestage
command for that purpose.Please consider adding an option to the
heroku config:set
and:unset
CLI commands that would prevent restarting the app.My environment is:
The text was updated successfully, but these errors were encountered: