https://prefect.io logo
Title
a

Abhishek Mitra

01/31/2023, 11:01 AM
Hello everyone, I have been trying to run a flow through an ECS Agent deployed in a fargate cluster. I am following this document for setting it up. But I keep getting the below error. I checked the all the roles and attached policies and all seems good. Does anybody know how to debug this?
Watching flow run execution...
└── 16:18:49 | INFO    | Entered state <Scheduled>: Flow run scheduled.
└── 16:18:57 | INFO    | Entered state <Submitted>: Submitted for execution
└── 16:18:57 | ERROR   | An error occurred (ClientException) when calling the RegisterTaskDefinition operation: Role is not valid
└── 16:18:58 | INFO    | Entered state <Failed>: An error occurred (ClientException) when calling the RegisterTaskDefinition operation: Role is not valid
Flow run failed!