diff --git a/middleware/nginx/README.md b/middleware/nginx/README.md index a59e3d4..2ab227d 100644 --- a/middleware/nginx/README.md +++ b/middleware/nginx/README.md @@ -16,8 +16,8 @@ module "datadog-monitors-middleware-nginx" { Creates DataDog monitors with the following checks: -- Nginx vhost status does not respond - Nginx dropped connections +- Nginx vhost status does not respond ## Inputs diff --git a/middleware/nginx/outputs.tf b/middleware/nginx/outputs.tf index ec41806..970174c 100644 --- a/middleware/nginx/outputs.tf +++ b/middleware/nginx/outputs.tf @@ -5,5 +5,5 @@ output "datadog_nginx_process_id" { output "datadog_nginx_dropped_connections_id" { description = "id for monitor datadog_nginx_dropped_connections" - value = "${datadog_monitor.datadog_nginx_dropped_connections.id}" + value = "${datadog_monitor.datadog_nginx_dropped_connections.*.id}" }