I have an App with multiple (~20) FaaS Endpoints. To share Python Code across all FaaS functions, I am using User Environments. How can I update the Python Code in this environment without having too much manuell efforts?
I’ve already found out, that I can simply upload a new image with the same name:tag of the previous version (as potential workaround). However, in order to have the already existing functions executed with the latest environment, I need to redeploy them (i.e., change one line of code and click on save & deploy). I consider this as very error prone, as I need to click through all functions and perform some actions.
Did anyone already write a small script that updates the environment of all functions within a project?
Is there a better/more efficient way to update the Python script inside the User Environment? Maybe a native One Data feature?