dwyl / learn-aws-lambda

✨ Learn how to use AWS Lambda to easily create infinitely scalable web services
1.05k stars 202 forks source link

Cloudwatch and Lambda Region Specific #80

Open zbuckholz opened 8 years ago

zbuckholz commented 8 years ago

I came across this great documentation while searching for a recent problem I encountered. I hope you can update the documentation with a solution.

I have deployed a lambda function in us-west-2 to monitor cloudwatch for ec2 power changes, which then updates Route53. Today I attempted to utilize us-west-1 and noticed the lambda function in us-west-2 doesn't have access to cloudwatch events in us-west-1.

There appears to be no way to setup a trigger for lambda that can use cloudwatch events in a different region.

nelsonic commented 8 years ago

@zbuckholz yeah, this is a bit of an oversight on AWS's part. :-(

zbuckholz commented 8 years ago

I have a ticket opened, if they provide a solution or work around I'll share the knowledge. Thanks