Ido Slonimsky
01/03/2022, 7:58 AMbotocore.errorfactory.InvalidParameterException: An error occurred (InvalidParameterException) when calling the RunTask operation: TaskDefinition is inactive
after this:
Creating a new Dask cluster with `dask_cloudprovider.aws.ecs.FargateCluster`...
In the run config, both when it succeeds and when it fails the task_definition is null, and all the other settings are the same, has anybody encountered a similar issue and has any idea what could go wrong?Anna Geller
flow.run_config = ECSRun(
labels=["prod"],
task_definition_arn="prefectFlow:1",
# or using a full ARN:
# task_definition_arn="arn:aws:ecs:us-east-1:XXX:task-definition/prefectFlow:1"
run_task_kwargs=dict(cluster="prefectEcsCluster"),
)
Ido Slonimsky
01/03/2022, 11:21 AMValueError: Cannot provide both `task_definition_arn` and `image`, since an ECS task's `image` can only be configured as part of the task definition
Anna Geller
Anna Geller