Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/hajowieland/ruby-slack-aws-ec2-instances-running
- Owner: hajowieland
- License: gpl-3.0
- Created: 2019-01-07T23:41:41.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-23T16:55:17.000Z (over 2 years ago)
- Last Synced: 2024-11-13T05:21:25.014Z (3 months ago)
- Topics: aws-ec2, aws-sdk-ruby, ruby, slack
- Language: Ruby
- Homepage:
- Size: 5.16 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ruby-slack-aws-ec2-instances-running
Very simple Ruby script to play around with the aws-sdkPosts 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** )