Custom template: update environment variables?
I have configured environment variables in my custom endpoint template. When I edit the template to change their contents, the workers still seem to be using the old ENV values.
What ultimately works is removing and recreating the whole endpoint, but I don't want to do that repeatedly. I've tried triggering a refresh using the "Create new release" functionality but it didn't seem to help.
What is the recommended way of making sure that the workers are using the latest environment variables from the template?
Solution:Jump to solution
Scale workers down to zero and back up again for environment variable changes to take effect
2 Replies