We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d16518 commit 21340e2Copy full SHA for 21340e2
deployments/modules/services/networking/load-balancer.tf
@@ -25,10 +25,17 @@ resource "google_compute_managed_ssl_certificate" "default" {
25
}
26
27
28
+resource "google_compute_ssl_policy" "default" {
29
+ name = "default-ssl-tls-policy"
30
+ profile = "COMPATIBLE"
31
+ min_tls_version = "TLS_1_2"
32
+}
33
+
34
resource "google_compute_target_https_proxy" "default" {
35
name = "${local.context}-https-lb-proxy"
36
url_map = google_compute_url_map.default.id
37
ssl_certificates = [google_compute_managed_ssl_certificate.default.id]
38
+ ssl_policy = google_compute_ssl_policy.default.id
39
40
41
resource "google_compute_target_http_proxy" "https_redirect" {
0 commit comments