diff --git a/network/dns/README.md b/network/dns/README.md index e33a8bf..533d1de 100644 --- a/network/dns/README.md +++ b/network/dns/README.md @@ -24,10 +24,8 @@ Creates DataDog monitors with the following checks: |------|-------------|:----:|:-----:|:-----:| | cannot\_resolve\_enabled | Flag to enable DNS cannot resolve monitor | string | `"true"` | no | | cannot\_resolve\_extra\_tags | Extra tags for DNS cannot resolve monitor | list(string) | `[]` | no | -| cannot\_resolve\_last | Parameter 'last' for the service check | string | `"6"` | no | | cannot\_resolve\_message | Custom message for DNS cannot resolve monitor | string | `""` | no | | cannot\_resolve\_no\_data\_timeframe | DNS cannot resolve monitor no data timeframe | string | `"10"` | no | -| cannot\_resolve\_threshold\_critical | DNS cannot resolve monitor (warning threshold) | string | `"5"` | no | | cannot\_resolve\_threshold\_warning | DNS cannot resolve monitor (warning threshold) | string | `"3"` | no | | environment | Architecture Environment | string | n/a | yes | | evaluation\_delay | Delay in seconds for the metric evaluation | string | `"15"` | no | diff --git a/network/dns/inputs.tf b/network/dns/inputs.tf index dfd4a03..83e766f 100644 --- a/network/dns/inputs.tf +++ b/network/dns/inputs.tf @@ -54,24 +54,12 @@ variable "cannot_resolve_message" { default = "" } -variable "cannot_resolve_last" { - description = "Parameter 'last' for the service check" - type = string - default = 6 -} - variable "cannot_resolve_threshold_warning" { description = "DNS cannot resolve monitor (warning threshold)" type = string default = 3 } -variable "cannot_resolve_threshold_critical" { - description = "DNS cannot resolve monitor (warning threshold)" - type = string - default = 5 -} - variable "cannot_resolve_no_data_timeframe" { description = "DNS cannot resolve monitor no data timeframe" type = string diff --git a/network/dns/monitors-dns.tf b/network/dns/monitors-dns.tf index 48f1c8c..8aee37b 100644 --- a/network/dns/monitors-dns.tf +++ b/network/dns/monitors-dns.tf @@ -8,12 +8,12 @@ resource "datadog_monitor" "cannot_resolve" { type = "service check" query = <