Amazon EventBridge fan-in

Amazon EventBridge (Fan-in) → Amazon EventBridge (Central)

Aggregate events from multiple EventBridge event busses to a central bus

This pattern demonstrates how to aggregate all your events from multiple event busses (in the same region) to a central event bus in a different region.
This pattern is deployed using Terraform to create a central EventBridge bus, EventBridge rules on fan-in busses and all IAM resources required.
The event busses to aggregate can be defined in `terraform.tfvars` file (Sample ARNs are provided, replace with event bus ARNs as needed).
The `provider.tf` file also lists the AWS Regions of the fan-in event bus and central event bus (replace these based on where your event busses exist and where you want your central bus to be created).

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/eventbridge-fan-in-terraform

Deploy

terraform initterraform apply


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

terraform destroy

Created by:

Aniket Bulbule

Aniket Bulbule

Partner Solutions Architect @AWS, Serverless Enthusiast

Follow on LinkedIn