tilloo-plugin-sns
v1.0.0
Published
Plugin to send tilloo notifications via SNS
Downloads
3
Readme
A distributed cron with cli and web ui
Installation
npm install tilloo-plugin-sns --save
Features
- Sends email on job failure via AWS SNS
- Sends email on job recovery via AWS SNS
Background
We recently moved our notifications from Mandrill to SNS. This plugin was created to support notifications via SNS.
Getting Started
This package is NOT included in Tilloo by default. To use it you need to do an npm install tilloo-plugin-sns in the tilloo directory and then configure it.
Configuration
The configuration for the plugin lives inside the Tilloo config.json.
"notification": {
"threshold":3600,
"plugins":{
"tilloo-plugin-sns": {
"accessKeyId": "<AWS Access Key Id>",
"secretAccessKey": "<AWS Secret Access Key>",
"region": "<AWS region SNS topic is in>",
"topicArn": "<AWS SNS topicArn>",
"from_name": "Tilloo Notification",
"from_email": "<[email protected]>",
"to_email": "<[email protected]>"
}
}
}
If you are using IAM roles you can leave out accessKeyId and secretAccessKey and the AWS-SDK should use your IAM role. You can also specify them via environment variables if desired.
Region and topicArn are always required.
People
The author is Chris Kinsman