MON-105 delete useless template file
This commit is contained in:
parent
60bde176e6
commit
79de95f955
@ -1,11 +1,3 @@
|
|||||||
data "template_file" "filter" {
|
|
||||||
template = "$${filter}"
|
|
||||||
|
|
||||||
vars {
|
|
||||||
filter = "${var.filter_tags_use_defaults == "true" ? format("dd_monitoring:enabled,dd_postgres:enabled,db_env:%s", var.environment) : "${var.filter_tags_custom}"}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
resource "datadog_monitor" "postgresql_connection_too_high" {
|
resource "datadog_monitor" "postgresql_connection_too_high" {
|
||||||
count = "${var.postgresql_connection_enabled ? 1 : 0}"
|
count = "${var.postgresql_connection_enabled ? 1 : 0}"
|
||||||
name = "[${var.environment}] PostgreSQL Connections {{#is_alert}}{{{comparator}}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}}% ({{value}}%){{/is_warning}}"
|
name = "[${var.environment}] PostgreSQL Connections {{#is_alert}}{{{comparator}}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}}% ({{value}}%){{/is_warning}}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user