Hi folks, is it possible to change a flow’s execut...
# prefect-community
m
Hi folks, is it possible to change a flow’s execution environment after a flow is registered ?
j
As it currently stands you will need to reregister the flow to change the environment
m
@josh - thanks for the quick response, is there a way to pull the flow from the server ? (or would the user need access to the code that created the flow and have to re-create it ?)
j
The user would need to have access to the code to recreate it, the server has no concept of the actual flow code and only stores the metadata associated with it 🙂
m
gotcha
So I guess as a workaround I would have to manually serialize the flow and store it somewhere on s3 - to be able to pull it, deserialize it and then change its environment ?
j
Yeah if you don’t have access to the flow code then you need to retrieve it from somewhere to update and reregister it
m
Ok - will give it a try - thanks !