Hello, I'm setting up ECS push workpool and notice...
# prefect-cloud
m
Hello, I'm setting up ECS push workpool and notice that if I don't define a task definition, Prefect auto creates the ECS task definition with this base image
<http://docker.io/prefecthq/prefect:3-latest|docker.io/prefecthq/prefect:3-latest>
. How can I change this default to use latest Prefect 2 image?
n
hi @Moe, you can set the
image
job variable on the work pool (which would apply for everything that uses that work pool) or you can override
image
on a per-deployment basis
m
@Nate Is there a prefecthq/prefect:2-latest image?
n
yes, but i would generally recommend using a static tag (not latest) https://hub.docker.com/r/prefecthq/prefect/tags
there's version tags for each version of python we support and each minor / patch version of prefect
m
Awesome, thank you!