3 ms·
If you needed to setup an S3 bucket that triggers a Lambda function when an object is added, how would you do that? Last I looked, the S3 resource would get cre
by thanksforfish 6y ago
If you needed to setup an S3 bucket that triggers a Lambda function when an object is added, how would you do that? Last I looked, the S3 resource would get created lazily, the Lambda wouldn't get an S3 ARN, as the S3 bucket didn't exist yet and the stack would fail.
It's a super obvious way to use S3 and Lambda, but the docs recommend something insane.
https://aws.amazon.com/premiumsupport/knowledge-center/cloudformation-s3-notification-lambda/ https://aws.amazon.com/premiumsupport/knowledge-center/cloud...
https://stackoverflow.com/questions/38752985/create-a-lambda-notification-in-an-s3-bucket-with-cloudformation https://stackoverflow.com/questions/38752985/create-a-lambda...