hey yall, I'm migrating to prefect 2 and followed the ecs worker guide and the prefect recipe for an ecs worker but I'm getting an error when trying to pull my image from ECR. I don't think I'm short any permissions but there seems to be some networking issue happening. has anyone run into this before?
Copy code
prefect_aws.workers.ecs_worker.TaskFailedToStart: ResourceInitializationError: unable to pull secrets or registry auth: execution resource retrieval failed: unable to retrieve ecr registry auth: service call has been retried 3 time(s): RequestError: send request failed caused by: Post "<https://api.ecr.us-west-2.amazonaws.com/>": dial tcp 34.223.25.158:443: i/o timeout. Please check your task network configuration.
k
Kevin Grismore
03/18/2024, 8:53 PM
do you have an internet gateway or a NAT gateway on your vpc?
t
Tomas Moreno
03/18/2024, 10:25 PM
@Kevin Grismore no, it is not
k
Kevin Grismore
03/18/2024, 10:27 PM
how is your VPC configured? there is a nice little network map view on the VPC page
t
Tomas Moreno
03/18/2024, 11:43 PM
ahhh ok, sorry. I do see a NAT/internet gateway in our VPC. the subnets I'm using use the NAT gateway
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.