3 ms·
> Sounds implausible but I’ve seen that more than once! The textbook example of this going wrong is a lambda that is invoked on uploading to S3 that writes the
by maccard 3y ago
> Sounds implausible but I’ve seen that more than once!
The textbook example of this going wrong is a lambda that is invoked on uploading to S3 that writes the result to S3. There's even an AWS article on it - [0]
[0] https://aws.amazon.com/blogs/compute/avoiding-recursive-invocation-with-amazon-s3-and-aws-lambda/ https://aws.amazon.com/blogs/compute/avoiding-recursive-invo...
- easton 3y agoWe actually got an email from AWS recently at work that said “hey! Your lambda writes to a queue that invokes the same lambda, that seems wack”. We need it that way, but it’s enough of a problem that they built a way to detect it automatically.