MON-32 remove ignore change

This commit is contained in:
Quentin Manfroi 2018-09-19 16:20:55 +02:00
parent 5d494fc69c
commit c1b5b0cbe2

View File

@ -10,10 +10,6 @@ resource "datadog_monitor" "elasticache_eviction" {
) > 0 ) > 0
EOF EOF
lifecycle {
ignore_changes = ["type"]
}
notify_no_data = false notify_no_data = false
evaluation_delay = "${var.delay}" evaluation_delay = "${var.delay}"
renotify_interval = 0 renotify_interval = 0
@ -41,10 +37,6 @@ resource "datadog_monitor" "elasticache_max_connection" {
) >= 65000 ) >= 65000
EOF EOF
lifecycle {
ignore_changes = ["type"]
}
notify_no_data = true notify_no_data = true
evaluation_delay = "${var.delay}" evaluation_delay = "${var.delay}"
renotify_interval = 0 renotify_interval = 0
@ -72,10 +64,6 @@ resource "datadog_monitor" "elasticache_no_connection" {
) <= 0 ) <= 0
EOF EOF
lifecycle {
ignore_changes = ["type"]
}
notify_no_data = true notify_no_data = true
evaluation_delay = "${var.delay}" evaluation_delay = "${var.delay}"
renotify_interval = 0 renotify_interval = 0
@ -103,10 +91,6 @@ resource "datadog_monitor" "elasticache_swap" {
) > ${var.swap_threshold_critical} ) > ${var.swap_threshold_critical}
EOF EOF
lifecycle {
ignore_changes = ["type"]
}
thresholds { thresholds {
warning = "${var.swap_threshold_warning}" warning = "${var.swap_threshold_warning}"
critical = "${var.swap_threshold_critical}" critical = "${var.swap_threshold_critical}"
@ -140,10 +124,6 @@ resource "datadog_monitor" "elasticache_free_memory" {
< ${var.free_memory_threshold_critical} < ${var.free_memory_threshold_critical}
EOF EOF
lifecycle {
ignore_changes = ["type"]
}
thresholds { thresholds {
warning = "${var.free_memory_threshold_warning}" warning = "${var.free_memory_threshold_warning}"
critical = "${var.free_memory_threshold_critical}" critical = "${var.free_memory_threshold_critical}"
@ -176,10 +156,6 @@ resource "datadog_monitor" "elasticache_eviction_growing" {
> ${var.eviction_growing_threshold_critical} > ${var.eviction_growing_threshold_critical}
EOF EOF
lifecycle {
ignore_changes = ["type"]
}
thresholds { thresholds {
warning = "${var.eviction_growing_threshold_warning}" warning = "${var.eviction_growing_threshold_warning}"
critical = "${var.eviction_growing_threshold_critical}" critical = "${var.eviction_growing_threshold_critical}"