We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5405807 commit dad458bCopy full SHA for dad458b
1 file changed
iac/provider-gcp/nomad-cluster/network/ingress.tf
@@ -55,6 +55,27 @@ resource "google_compute_backend_service" "ingress" {
55
}
56
57
58
+resource "google_compute_backend_service" "h2c_ingress" {
59
+ name = "${var.prefix}h2c-ingress"
60
+
61
+ protocol = "H2C"
62
+ port_name = var.ingress_port.name
63
64
+ session_affinity = null
65
+ health_checks = [google_compute_health_check.ingress.id]
66
67
+ timeout_sec = var.ingress_timeout_seconds
68
69
+ load_balancing_scheme = "EXTERNAL_MANAGED"
70
+ locality_lb_policy = "ROUND_ROBIN"
71
72
+ security_policy = google_compute_security_policy.ingress.id
73
74
+ backend {
75
+ group = var.api_instance_group
76
+ }
77
+}
78
79
resource "google_compute_security_policy" "ingress" {
80
name = "${var.prefix}ingress"
81
0 commit comments