-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(aws-events): Support EventBridge cross region event routing #14635
Comments
@rix0rrr - I've had a go at getting this working by doing the following:
However, I'm getting the following error when deploying:
From the API docs below it seems we need to supply roleArn in the target but that works fine when targeting the cross-account target in the same region, just not for the cross account target in a different region... Any thoughts?
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html |
This would be super useful for routing Chime events (which are always emitted in us-east-1) into the region where all my infrastructure sits. |
This pull request aims to extend the current support for cross-account event targets to also support limited cross-region event targets. Currently, the initial list of supported destination regions is: US East (N. Virginia – us-east-1), US West (Oregon – us-west-2), and Europe (Ireland – eu-west-1). The event can originate in any AWS region. The original feature request is described here: #14635 and the blog post describing this feature launch is here: https://aws.amazon.com/blogs/compute/introducing-cross-region-event-routing-with-amazon-eventbridge/ ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This pull request aims to extend the current support for cross-account event targets to also support limited cross-region event targets. Currently, the initial list of supported destination regions is: US East (N. Virginia – us-east-1), US West (Oregon – us-west-2), and Europe (Ireland – eu-west-1). The event can originate in any AWS region. The original feature request is described here: aws#14635 and the blog post describing this feature launch is here: https://aws.amazon.com/blogs/compute/introducing-cross-region-event-routing-with-amazon-eventbridge/ ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This pull request aims to extend the current support for cross-account event targets to also support limited cross-region event targets. Currently, the initial list of supported destination regions is: US East (N. Virginia – us-east-1), US West (Oregon – us-west-2), and Europe (Ireland – eu-west-1). The event can originate in any AWS region. The original feature request is described here: aws#14635 and the blog post describing this feature launch is here: https://aws.amazon.com/blogs/compute/introducing-cross-region-event-routing-with-amazon-eventbridge/ ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
EventBridge now supports cross region events so this can now be supported in the CDK! Currently, you can route to any event bus in the three supported Regions. Cross-Region event buses can be in the same AWS account or different AWS accounts. The initial list of supported destination Regions is: US East (N. Virginia – us-east-1), US West (Oregon – us-west-2), and Europe (Ireland – eu-west-1).
https://aws.amazon.com/blogs/compute/introducing-cross-region-event-routing-with-amazon-eventbridge/
Currently we get the following error when trying to put event across region:
Use Case
To support cross region events in a CDK application.
Proposed Solution
Remove error check for cross region in
node_modules/@aws-cdk/aws-events/lib/rule.ts
from line 97
But not only that, we should extend the multi-account logic to support multi-region otherwise we impose the restriction that multi-region must also be multi-account. Note that multi-region events are implemented the same way as multi account events.
Update the docs: https://docs.aws.amazon.com/cdk/api/latest/docs/aws-events-readme.html#cross-account-targets
"Note: while events can span multiple accounts, they cannot span different regions (that is an EventBridge, not CDK, limitation)."
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: