Commit 6dc29027 authored by Chris Merrett's avatar Chris Merrett

Correct low CPU alarm scaling up

parent 43271db4
......@@ -238,7 +238,7 @@ resource "aws_cloudwatch_metric_alarm" "cpu_low" {
evaluation_periods = "${var.cpu_low_evaluation_periods}"
alarm_description = "This will alarm when an app servers CPU usage is below ${var.cpu_low_threshold}% for ${var.cpu_low_evaluation_periods} * ${var.cpu_low_period}"
alarm_actions = [
"${aws_autoscaling_policy.scale_up.arn}"
"${aws_autoscaling_policy.scale_down.arn}"
]
dimensions {
AutoScalingGroupName = "${aws_autoscaling_group.main.id}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment