[Updated] Using LocalStack for AWS Lambda with EventBridge rule trigger

Amazon EventBridge is a serverless service for building event-driven loosely coupled workflows. It can trigger AWS Lambda functions based on specific rules. This is really handy for tasks like optimizing images after S3 uploads, generating aggregated reports from DynamoDB updates, or reacting to changes in other AWS resources. In this post, we’ll deploy a Lambda function, and trigger it through an…