'One cron expression for multiple AWS regions
I want to schedule an AWS Lambda to be triggered at 02:00 AM localtime everyday in multiple AWS regions. Is there a way to define a cron expression that will invoke the lambda in such a way?
Ex: For these regions - ap-northeast-1(Tokyo), ap-south-1(Mumbai) and us-east-1(N.Virginia) the lambda should be invoked at 02:00AM local time of their respective regions.
So, lambda in Tokyo (UTC+9) will be triggered first, followed by Mumbai(UTC+5:30) and N.Virginia(UTC-4) regions.
Solution 1:[1]
You will need to create one EventBridge rule for each region, and then you will have to use cross-region event routing to invoke the lambda.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Paolo |
