When working with push workpools: If I delete then...
# ask-community
c
When working with push workpools: If I delete then recreate a workpool, do I then also need to re-create all the deployments which depend on the workpool? Deployment configurations (in
prefect.yaml
file) refer to a workpool by name, so I would have thought that the answer is "no". However, my experience is that you have to re-create dependent deployments - suggesting that (under the hood) Prefect does not use the name of the workpool to reference it, but rather a UUID. So: is this behaviour (needing to rebuild dependent deployments because a deployment) a bug, or intended behaviour? Addenda: I am updating my workpools by way of delete-then-create. This is deliberate, as I want my full system* deployment process to be entirely transparent, with no hidden dependencies (just like the dependency causing this post) *Full system deployment: instantiating workpool(s) and flow deployments