Skip to content

AWS Elastic Beanstalk events to RocketChat streaming function for AWS Lambda.

Notifications You must be signed in to change notification settings

sebastiansommer/elastic-beanstalk-events-to-rocketchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

elastic-beanstalk-events-to-rocketchat

AWS Elastic Beanstalk events to RocketChat streaming function for AWS Lambda.

Setup

Function configuration

Add the function code to AWS Lambda with the following configuration options:

Key Value
Runtime Node.js 12.x
Handler index.handler
Role AWSLambdaBasicExecutionRole
Memory 128 (MB)
Timeout 3 sec
KMS key aws/lambda

Environment variables

Set the following required environment variable for the Lambda function:

Key Value
rocketChatWebhookUrl Your Rocket Chat Webhook URL

Trigger configuration

Create an Amazon SNS topic and add it as SNS trigger for the Lambda function.

Add the Topic ARN as Notification setting to your Elastic Beanstalk Environment Manifest (env.yaml):

OptionSettings:
  aws:elasticbeanstalk:sns:topics:
    # Send deployment and health notifications to this Amazon SNS topic:
    NotificationTopicARN: arn:aws:sns:eu-west-1:000000000000:eb-deployments

License

Released under the MIT license.

About

AWS Elastic Beanstalk events to RocketChat streaming function for AWS Lambda.

Resources

Stars

Watchers

Forks