Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hajowieland/ruby-slack-aws-ec2-instances-running

Post to Slack currently active AWS EC2 instances in all regions. With Lambda function code.
https://github.com/hajowieland/ruby-slack-aws-ec2-instances-running

aws-ec2 aws-sdk-ruby ruby slack

Last synced: 24 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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** )