Ethan Veres

03/06/2023, 3:57 PM
Hi all! I’m trying to get my tasks deployed on ECS and running into the following error:
prefect_aws.ecs.TaskFailedToStart: ResourceInitializationError: unable to pull secrets or registry auth: execution resource retrieval failed: unable to retrieve secret from asm: service call has been retried 5 time(s): failed to fetch secret arn:aws:secretsmanager:XXXXXXXX from secrets manager: RequestCanceled: request context canceled caused by: context deadline exceeded

File "/usr/local/lib/python3.10/site-packages/prefect_aws/", line 1058, in _wait_for_task_start
I’ve gone through and made sure that the ecs service has: 1. Public IP assigned 2. Public subnets 3. Egress security group that allows all traffic Anything that I missed?