https://prefect.io logo
g

Geoffrey Keating

08/10/2023, 11:41 PM
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

Jamie Zieziula

08/11/2023, 7:19 PM
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

Geoffrey Keating

08/11/2023, 8:52 PM
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

Jamie Zieziula

08/11/2023, 9:12 PM
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

Geoffrey Keating

08/11/2023, 9:12 PM
Ah, makes sense, I'll keep that in mind when configuring the environment. Thanks!