From a32095864b7ba9c16730c7af23bca24e9ae0c7e8 Mon Sep 17 00:00:00 2001 From: Quentin Manfroi Date: Wed, 19 Sep 2018 18:57:09 +0200 Subject: [PATCH] MON-32 remove ignore change for redis and memcached --- .../elasticache/memcached/monitors-memcached.tf | 8 -------- cloud/aws/elasticache/redis/monitors-redis.tf | 16 ---------------- 2 files changed, 24 deletions(-) diff --git a/cloud/aws/elasticache/memcached/monitors-memcached.tf b/cloud/aws/elasticache/memcached/monitors-memcached.tf index d6c07bb..4ab3914 100644 --- a/cloud/aws/elasticache/memcached/monitors-memcached.tf +++ b/cloud/aws/elasticache/memcached/monitors-memcached.tf @@ -67,10 +67,6 @@ resource "datadog_monitor" "memcached_get_hits" { ) < ${var.get_hits_threshold_critical} EOF - lifecycle { - ignore_changes = ["type"] - } - thresholds { warning = "${var.get_hits_threshold_warning}" critical = "${var.get_hits_threshold_critical}" @@ -103,10 +99,6 @@ resource "datadog_monitor" "memcached_cpu_high" { ) > ${var.cpu_high_threshold_critical} EOF - lifecycle { - ignore_changes = ["type"] - } - thresholds { warning = "${var.cpu_high_threshold_warning}" critical = "${var.cpu_high_threshold_critical}" diff --git a/cloud/aws/elasticache/redis/monitors-redis.tf b/cloud/aws/elasticache/redis/monitors-redis.tf index 9db5631..ed61970 100644 --- a/cloud/aws/elasticache/redis/monitors-redis.tf +++ b/cloud/aws/elasticache/redis/monitors-redis.tf @@ -67,10 +67,6 @@ resource "datadog_monitor" "redis_cache_hits" { ) * 100 < ${var.cache_hits_threshold_critical} EOF - lifecycle { - ignore_changes = ["type"] - } - thresholds { warning = "${var.cache_hits_threshold_warning}" critical = "${var.cache_hits_threshold_critical}" @@ -103,10 +99,6 @@ resource "datadog_monitor" "redis_cpu_high" { ) > ${var.cpu_high_threshold_critical} EOF - lifecycle { - ignore_changes = ["type"] - } - notify_no_data = true evaluation_delay = "${var.evaluation_delay}" renotify_interval = 0 @@ -134,10 +126,6 @@ resource "datadog_monitor" "redis_replication_lag" { ) > ${var.replication_lag_threshold_critical} EOF - lifecycle { - ignore_changes = ["type"] - } - thresholds { warning = "${var.replication_lag_threshold_warning}" critical = "${var.replication_lag_threshold_critical}" @@ -171,10 +159,6 @@ resource "datadog_monitor" "redis_commands" { ) <= 0 EOF - lifecycle { - ignore_changes = ["type"] - } - notify_no_data = true evaluation_delay = "${var.evaluation_delay}" renotify_interval = 0