Skip to content
Terraform to setup CloudWatch alerts to Slack for when an ASG has less instances than a threshold.
HCL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
main.tf
variables.tf

README.md

terraform-monitor-asg

Terraform to monitor one or more AWS ASGs and alert to Slack if the number of instances in the ASG drops below a threshold

Usage example:

variable "slack_webhook_url" {}

module "monitor_asgs" {
  source = "github.com/mozilla-it/asg-alert?ref=tags/1.0"
  slack_webhook_url = "${var.slack_webhook_url}"
  slack_channel     = "MySlackChannel"
  slack_username    = "AWS"
  asgs              = ["MyAutoScalingGroup1", "MyOtherASG"]
}
You can’t perform that action at this time.