Fix https health check mismapped to http (#1194)
This commit is contained in:
parent
ff0ab33ce6
commit
6bf2fb4c06
|
@ -76,13 +76,13 @@ resource "google_compute_health_check" "default" {
|
||||||
dynamic "https_health_check" {
|
dynamic "https_health_check" {
|
||||||
for_each = local.hc_https ? [""] : []
|
for_each = local.hc_https ? [""] : []
|
||||||
content {
|
content {
|
||||||
host = local.hc.http.host
|
host = local.hc.https.host
|
||||||
port = local.hc.http.port
|
port = local.hc.https.port
|
||||||
port_name = local.hc.http.port_name
|
port_name = local.hc.https.port_name
|
||||||
port_specification = local.hc.http.port_specification
|
port_specification = local.hc.https.port_specification
|
||||||
proxy_header = local.hc.http.proxy_header
|
proxy_header = local.hc.https.proxy_header
|
||||||
request_path = local.hc.http.request_path
|
request_path = local.hc.https.request_path
|
||||||
response = local.hc.http.response
|
response = local.hc.https.response
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -76,13 +76,13 @@ resource "google_compute_health_check" "default" {
|
||||||
dynamic "https_health_check" {
|
dynamic "https_health_check" {
|
||||||
for_each = local.hc_https ? [""] : []
|
for_each = local.hc_https ? [""] : []
|
||||||
content {
|
content {
|
||||||
host = local.hc.http.host
|
host = local.hc.https.host
|
||||||
port = local.hc.http.port
|
port = local.hc.https.port
|
||||||
port_name = local.hc.http.port_name
|
port_name = local.hc.https.port_name
|
||||||
port_specification = local.hc.http.port_specification
|
port_specification = local.hc.https.port_specification
|
||||||
proxy_header = local.hc.http.proxy_header
|
proxy_header = local.hc.https.proxy_header
|
||||||
request_path = local.hc.http.request_path
|
request_path = local.hc.https.request_path
|
||||||
response = local.hc.http.response
|
response = local.hc.https.response
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue