diff --git a/README.md b/README.md index 81b51a6..c0aa0ef 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,7 @@ The `//` is very important, it's a terraform specific syntax used to separate gi - [stream-analytics](https://bitbucket.org/morea/terraform.feature.datadog/src/master/cloud/azure/stream-analytics/) - [common](https://bitbucket.org/morea/terraform.feature.datadog/src/master/common/) - [alerting-message](https://bitbucket.org/morea/terraform.feature.datadog/src/master/common/alerting-message/) + - [filter-tags](https://bitbucket.org/morea/terraform.feature.datadog/src/master/common/filter-tags/) - [databases](https://bitbucket.org/morea/terraform.feature.datadog/src/master/databases/) - [mongodb](https://bitbucket.org/morea/terraform.feature.datadog/src/master/databases/mongodb/) - [middleware](https://bitbucket.org/morea/terraform.feature.datadog/src/master/middleware/) diff --git a/common/filter-tags/inputs.tf b/common/filter-tags/inputs.tf index 5c4da92..0108baf 100644 --- a/common/filter-tags/inputs.tf +++ b/common/filter-tags/inputs.tf @@ -17,4 +17,3 @@ variable "filter_tags_custom" { description = "Tags used for custom filtering when filter_tags_use_defaults is false" default = "*" } - diff --git a/common/filter-tags/locals.tf b/common/filter-tags/locals.tf index 2d3834f..4ca593a 100644 --- a/common/filter-tags/locals.tf +++ b/common/filter-tags/locals.tf @@ -1,4 +1,3 @@ locals { filters = "${var.filter_tags_use_defaults == "true" ? format("dd_monitoring:enabled,dd_%s:enabled,env:%s", var.resource, var.environment) : "${var.filter_tags_custom}"}" } - diff --git a/common/filter-tags/output.tf b/common/filter-tags/output.tf index e71c0b9..d0d086b 100644 --- a/common/filter-tags/output.tf +++ b/common/filter-tags/output.tf @@ -7,4 +7,3 @@ output "service_check" { description = "The full filtering pattern including braces for query alert monitor type" value = "(\"${replace(local.filters, ",", "\",\"")}\")" } -