In this post we will setup a pretty common architecture pattern for async data processing on AWS. Distributed applications can fire events to Eventbridge and the payload gets forwarded to a SQS queue, dependent on defined rules.
To create the infrastructure we use Terraform(IaC) with the following module:
This module is able to create an event bus that accepts events and forwards them based on defined rules to connected targets. Let’s get our hands dirty and connect a new SQS queue to the default event bus of AWS Eventbridge: