assertible / lambda-cloudwatch-slack

Send AWS CloudWatch notifications to a Slack channel using Lambda
https://assertible.com/blog/npm-package-lambda-cloudwatch-slack
MIT License
481 stars 254 forks source link

get regions from sns subscription arn instead of config #8

Closed knowroozi closed 7 years ago

knowroozi commented 7 years ago

This allows for multi-region support of services without having to hardcode the region in the config file. The region is read from the subscription arn of the SNS (this is used for the links in the SNS messages)

creichert commented 7 years ago

@knowroozi Very nice, awesome!

knowroozi commented 7 years ago

@creichert yeah the email notification from that issue reminded me to submit this, lol

CodyReichert commented 7 years ago

FYI - this is up on npm as 0.1.1 :mega: