Quick question. I'm looking for a way to start and...
# prefect-community
m
Quick question. I'm looking for a way to start and wait for a Fargate Task. In the docs I see possibilities to start Lamda's, but nothing about ECS and Fargate. Am I correct to assume this isn't possible by default?
a
Hi @Maurits de Ruiter You’re right, there’s no out-of-the-box task to create/start a Fargate Task. You’ll have to implement it on your own by leveraging Boto3. However, your use case could be a good fit for an task library enhancements, so I encourage you to open an enhancement issue on Prefect githubt repo 🙂
💯 2
d
If you’re looking to run your Flows in Fargate, check out the ECS Agent, which can submit Tasks to either ECS or Fargate: https://docs.prefect.io/orchestration/agents/ecs.html