diff --git a/cloud/aws/elasticache/common/monitors-elasticache.tf b/cloud/aws/elasticache/common/monitors-elasticache.tf index c826d4c..6d53ade 100644 --- a/cloud/aws/elasticache/common/monitors-elasticache.tf +++ b/cloud/aws/elasticache/common/monitors-elasticache.tf @@ -10,10 +10,6 @@ resource "datadog_monitor" "elasticache_eviction" { ) > 0 EOF - lifecycle { - ignore_changes = ["type"] - } - notify_no_data = false evaluation_delay = "${var.delay}" renotify_interval = 0 @@ -41,10 +37,6 @@ resource "datadog_monitor" "elasticache_max_connection" { ) >= 65000 EOF - lifecycle { - ignore_changes = ["type"] - } - notify_no_data = true evaluation_delay = "${var.delay}" renotify_interval = 0 @@ -72,10 +64,6 @@ resource "datadog_monitor" "elasticache_no_connection" { ) <= 0 EOF - lifecycle { - ignore_changes = ["type"] - } - notify_no_data = true evaluation_delay = "${var.delay}" renotify_interval = 0 @@ -103,10 +91,6 @@ resource "datadog_monitor" "elasticache_swap" { ) > ${var.swap_threshold_critical} EOF - lifecycle { - ignore_changes = ["type"] - } - thresholds { warning = "${var.swap_threshold_warning}" critical = "${var.swap_threshold_critical}" @@ -140,10 +124,6 @@ resource "datadog_monitor" "elasticache_free_memory" { < ${var.free_memory_threshold_critical} EOF - lifecycle { - ignore_changes = ["type"] - } - thresholds { warning = "${var.free_memory_threshold_warning}" critical = "${var.free_memory_threshold_critical}" @@ -176,10 +156,6 @@ resource "datadog_monitor" "elasticache_eviction_growing" { > ${var.eviction_growing_threshold_critical} EOF - lifecycle { - ignore_changes = ["type"] - } - thresholds { warning = "${var.eviction_growing_threshold_warning}" critical = "${var.eviction_growing_threshold_critical}"