I am trying to set up an ECS push work pool with a...
# ask-community
g
I am trying to set up an ECS push work pool with a custom Docker image for the task definition. The work pool setup form asks for the image name - is this supposed to be an image ARN or URL?
I see that deployments can specify an image in
prefect.yaml
, but I'm not entirely sure where I can provide information on where these images are hosted for use
j
i should be the full path to the image like:
Copy code
us-docker.pkg.dev/gcp-project-name/my-image:latest
upvote 1
you’ll set this in the workpool definition or you can provide as an override in your deployment configuration for workpool under
Copy code
job_variables:
  image:
upvote 1
g
Will the workpool know how to authenticate to private repositories? I am probably going to host on ECR and will have an AWSCredentials block but it isn't explicitly connected
j
you’ll need to make sure that the role you define on to the ECS workpool has the correct permissions to authenticate to ECR.
🙌 1
g
Ah, makes sense, I'll keep that in mind when configuring the environment. Thanks!