I was finally able to set up a prefect worker service in my ECS, and I defined an execution role ARN in the task definition. However, I'm still getting the following error when I submit my flow run:
Copy code
botocore.errorfactory.ClientException: An error occurred (ClientException) when calling the RegisterTaskDefinition operation: Fargate requires task definition to have execution role ARN to support ECR images.
@Eric, I came across this issue. After creating task definition for the flow run, from the UI, I attached those task definition details and aws credentials block to the ecs work pool that you have created.
e
Eric
10/02/2023, 1:49 PM
Hey @Manoj Ravi, thanks for your help. Can you explain what you mean by creating a task definition detail? And why do I need a separate AWS credential, my ECS cluster should have those permissions already right?
Eric
10/02/2023, 3:24 PM
Ah nevermind, I misunderstood what you were saying!
m
Manoj Ravi
10/03/2023, 8:22 AM
Cool, Hope its working now !! If you want we can connect and discuss.
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.