Skip to content

Send an automatic Slack notification about EC2 instances in your account

License

Notifications You must be signed in to change notification settings

botanica-consulting/aws-running-instances-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS instances tracker

This is a simple internal script we wrote to make sure we turn off and delete AWS instances once done.

This script is currently configured to send a notification every Thursday afternoon.

Setup

  1. Install terraform: terraform init
  2. Create a vars file with your Slack webhook token. See example.tfvars.
  3. Build a deployment package: ./build.sh
  4. Deploy to your AWS account: terraform apply -var-file=<your-var-file-here.tfvars>

Contributing

Feel free to PR, copy, or use this code in any way you feel like.