https://prefect.io logo
Title
c

Charles Leung

10/26/2020, 9:08 PM
Hey guys, in building my prefect flow, is it an option to only have one task execute in Fargate? e.g., ET run using docker Agent, and then the last task runs on Fargate?
k

Kyle Moon-Wright

10/26/2020, 9:19 PM
Hey @Charles Leung, I'm not sure there is a first class way to do this currently, as a flow and it's tasks are tied to the flow's environment - so you may be better off calling a StartFlowRun task to kick off your Fargate stuff, even if it's a call to a flow with a single task for Fargate. Otherwise, you would likely need some custom tasks... which I would love to see if you're able to share!
c

Charles Leung

10/26/2020, 9:34 PM
thanks Kyle!