Commit 6244ca2e authored by drechsau's avatar drechsau

oh forgot to save

parent fa3e8421
......@@ -6,7 +6,6 @@ resource "aws_cloudwatch_metric_alarm" "drone_deploy_recovery" {
alarm_description = "This metric auto recovers EC2 instances"
alarm_actions = ["arn:aws:automate:${var.region}:ec2:recover"]
#alarm_actions = ["arn:aws:automate:${substr(element(aws_instance.instance.*.availability_zone, count.index), 0, length(element(aws_instance.instance.*.availability_zone, count.index)) - 1)}:ec2:recover"]
statistic = "Minimum"
comparison_operator = "GreaterThanThreshold"
......
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