Skip to content

Commit 119796b

Browse files
committed
Making min nodes be less than, not equals to per best-practice and per readme
1 parent fc2ef7d commit 119796b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

alarms.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ resource "aws_cloudwatch_metric_alarm" "cluster_index_writes_blocked" {
100100
resource "aws_cloudwatch_metric_alarm" "insufficient_available_nodes" {
101101
count = var.min_available_nodes > 0 ? 1 : 0
102102
alarm_name = "${var.alarm_name_prefix}ElasticSearch-InsufficientAvailableNodes${var.alarm_name_postfix}"
103-
comparison_operator = "LessThanOrEqualToThreshold"
103+
comparison_operator = "LessThanThreshold"
104104
evaluation_periods = "1"
105105
metric_name = "Nodes"
106106
namespace = "AWS/ES"

0 commit comments

Comments
 (0)