From 6bf2fb4c06dd0b8168cfc3b69b22a9d5ce737c9c Mon Sep 17 00:00:00 2001 From: Joshua Goldberg <82210743+jogoldberg@users.noreply.github.com> Date: Tue, 28 Feb 2023 15:48:13 +0100 Subject: [PATCH] Fix https health check mismapped to http (#1194) --- modules/compute-mig/health-check.tf | 14 +++++++------- modules/net-ilb/health-check.tf | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/modules/compute-mig/health-check.tf b/modules/compute-mig/health-check.tf index 4a4ed40d..88f9f6ea 100644 --- a/modules/compute-mig/health-check.tf +++ b/modules/compute-mig/health-check.tf @@ -76,13 +76,13 @@ resource "google_compute_health_check" "default" { dynamic "https_health_check" { for_each = local.hc_https ? [""] : [] content { - host = local.hc.http.host - port = local.hc.http.port - port_name = local.hc.http.port_name - port_specification = local.hc.http.port_specification - proxy_header = local.hc.http.proxy_header - request_path = local.hc.http.request_path - response = local.hc.http.response + host = local.hc.https.host + port = local.hc.https.port + port_name = local.hc.https.port_name + port_specification = local.hc.https.port_specification + proxy_header = local.hc.https.proxy_header + request_path = local.hc.https.request_path + response = local.hc.https.response } } diff --git a/modules/net-ilb/health-check.tf b/modules/net-ilb/health-check.tf index 4a4ed40d..88f9f6ea 100644 --- a/modules/net-ilb/health-check.tf +++ b/modules/net-ilb/health-check.tf @@ -76,13 +76,13 @@ resource "google_compute_health_check" "default" { dynamic "https_health_check" { for_each = local.hc_https ? [""] : [] content { - host = local.hc.http.host - port = local.hc.http.port - port_name = local.hc.http.port_name - port_specification = local.hc.http.port_specification - proxy_header = local.hc.http.proxy_header - request_path = local.hc.http.request_path - response = local.hc.http.response + host = local.hc.https.host + port = local.hc.https.port + port_name = local.hc.https.port_name + port_specification = local.hc.https.port_specification + proxy_header = local.hc.https.proxy_header + request_path = local.hc.https.request_path + response = local.hc.https.response } }