Hi Everyone,
How can you use Prefect to listen for events in a AWS S3 bucket (arriving files)?
r
redsquare
03/14/2023, 5:28 PM
you cant really - you would need to use a lambda to invoke a flow or something
w
Will Raphaelson
03/14/2023, 5:32 PM
Yeah, as redsquare said this isn’t super well supported right now, but I think its likely we’ll look to tackle this next quarter with a selection of sensor like experiences. right now yeah I’d probably fire off a lambda.
r
redsquare
03/14/2023, 5:50 PM
@Will Raphaelson sounds good 👍
r
Ryan Peden
03/14/2023, 6:53 PM
You can run a Prefect flow inside a Lambda function if that helps. If you're using Prefect Cloud, you can use Automations to trigger another flow when the Lambda flow finishes