hi all, if i have an upstream prefect task submitting a job to aws batch and a downstream task which executes upon the aws batch job completes. is it good to have the downstream task to keep checking whether the aws batch job completes by using boto3 sdk? or is there a more elegant way to achieve this?
k
Kevin Kho
06/15/2021, 3:33 PM
Hey @Wai Kiat Tan, you can do something like AWS Batch completion -> Trigger Lambda -> Prefect Create Flow Run Endpoint.
w
Wai Kiat Tan
06/15/2021, 3:35 PM
so the lambda in between would trigger another prefect flow instead?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.