Hey, I'm trying to configure an ECSRun using a tas...
# ask-community
j
Hey, I'm trying to configure an ECSRun using a task definition. However when I try running it, it throws
An error occurred (ClientException) when calling the RegisterTaskDefinition operation: Container.image should not be null or empty.
even though I know that the image URI that I'm using within
containerDefinitions
has content.
k
Can I see the task definition? Do you define it in the
ECSRun
or do you supply a task definition?
j
Right now I'm defining it as a dict that I pass in as the task definition parameter for an ECSRun config
k
Prefect requires the containerDefinitions name to be
flow
to find where to run the Flow. Maybe you can try changing the name?
j
That made a difference thanks