diff --git a/inputs.tf b/inputs.tf index 1f24045..3959621 100644 --- a/inputs.tf +++ b/inputs.tf @@ -1,11 +1,13 @@ -variable "dd_custom_ignores" { - default = "" -} +variable "critical_escalation_group" {} +variable "warning_escalation_group" {} -variable "ho_escalation_group" {} - -variable "hno_escalation_group" {} - -variable "linux_basics" { +variable "dd_linux_basics" { default = "disabled" } + +variable "dd_custom_cpu" { + type = "map" + default = { + status = "enabled" + } +} diff --git a/testing/modules.tf b/testing/modules.tf new file mode 100644 index 0000000..036cb16 --- /dev/null +++ b/testing/modules.tf @@ -0,0 +1,13 @@ +module "datadog-monitors" { + source = "git::ssh://git@bitbucket.org/morea/terraform.datadog.monitors.git" + + critical_escalation_group = "${var.critical_escalation_group}" + warning_escalation_group = "${var.warning_escalation_group}" + + #default monitors templates integrations examples + dd_linux_basics = "${var.dd_linux_basics}" + #nginx = "false" + #aws_rds_mysql = "false" + + dd_custom_cpu = "${var.dd_custom_cpu}" +}