Mike Vanbuskirk
07/22/2022, 10:14 PMECSRun
config or can it not infer the correct cluster from providing agent labels?Mathijs Miermans
07/22/2022, 10:25 PM"default"
if it's not provided.
`cluster (str, optional)`: The AWS cluster to use, defaults tohttps://docs.prefect.io/api/latest/agent/ecs.html#ecsagentif not provided."default"
--cluster
command line argument, and don't set it in ECSRun
, and that works for us.Mike Vanbuskirk
07/22/2022, 10:35 PM--cluster
option part of the prefect cli
?Mathijs Miermans
07/22/2022, 10:43 PMMike Vanbuskirk
07/22/2022, 10:44 PMMathijs Miermans
07/22/2022, 10:49 PMMike Vanbuskirk
07/22/2022, 10:49 PMAnna Geller
07/22/2022, 11:26 PMRUN_CONFIG = ECSRun(
labels=["ecs-agent-local"],
task_definition_path="<s3://prefectdata/flow_task_definition.yaml>",
)
Mike Vanbuskirk
07/22/2022, 11:32 PM