Invoking lambda with CloudWatch events across regions

Viewed 230

I have a lambda function deployed in us-east-1 which runs every time an EC2 instance is started. The lambda function is triggered with the following EventBridge configuration:

{
  "detail-type": [
    "AWS API Call via CloudTrail"
  ],
  "source": [
    "aws.ec2"
  ],
  "detail": {
    "eventName": [
      "RunInstances"
    ]
  }
}

The lambda function is working great. Now, I'm looking to extend this so that my lambda function is triggered even when an EC2 instance is launched in a different region (e.g. us-east-2).

How can I achieve this?

2 Answers
Related