https://prefect.io logo
a

Adam Roderick

01/03/2021, 1:29 AM
Still trying to work out the ECSRun config. The task definitions that get created do not seem to support fargate. So if the agent's launch type is FARGATE, it attempts to launch a fargate task, but errors. Thinking I could get around this by supplying my own task definition, the agent is now reporting the error
Error while deploying flow: AttributeError("'str' object has no attribute 'get'")
This error was just a malformed task def on my part.
Seems like there should be an easier way to define a fargate task configuration than creating a custom task definition. Maybe this could be a parameter on ECSRun(), similar to the cpu and memory shortcut parameters?