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.
- Install terraform:
terraform init
- Create a vars file with your Slack webhook token. See example.tfvars.
- Build a deployment package:
./build.sh
- Deploy to your AWS account:
terraform apply -var-file=<your-var-file-here.tfvars>
Feel free to PR, copy, or use this code in any way you feel like.