Skip to content

Post to Slack currently active AWS EC2 instances in all regions. With Lambda function code.

License

Notifications You must be signed in to change notification settings

hajowieland/ruby-slack-aws-ec2-instances-running

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby-slack-aws-ec2-instances-running

Very simple Ruby script to play around with the aws-sdk

Posts to Slack the currently active AWS EC2 instances in all regions.

Lambda function included

Requirements

  • Configured Slack Bot and its API Token
  • environment variable SLACK_API_TOKEN set to Bot API Token export SLACK_API_TOKEN=yourapitokenhere
  • Change channel to your prefered Slack Channel (defaults to #general )

About

Post to Slack currently active AWS EC2 instances in all regions. With Lambda function code.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages