From 1d6b808138c694d3419cd667e602c4d335980239 Mon Sep 17 00:00:00 2001 From: Mark Hobson Date: Fri, 14 Jun 2024 17:51:53 +0100 Subject: [PATCH] GH-110: Rename HTTPS frontend for load balancer Makes way for an HTTP one. --- cloud/schemes/load-balancer/main.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cloud/schemes/load-balancer/main.tf b/cloud/schemes/load-balancer/main.tf index efd84594..008ab279 100644 --- a/cloud/schemes/load-balancer/main.tf +++ b/cloud/schemes/load-balancer/main.tf @@ -39,8 +39,8 @@ resource "google_compute_ssl_policy" "schemes" { profile = "RESTRICTED" } -resource "google_compute_target_https_proxy" "schemes" { - name = "schemes" +resource "google_compute_target_https_proxy" "schemes_https" { + name = "schemes-https" url_map = google_compute_url_map.schemes.id ssl_certificates = [google_compute_managed_ssl_certificate.schemes.id] ssl_policy = google_compute_ssl_policy.schemes.id @@ -49,7 +49,7 @@ resource "google_compute_target_https_proxy" "schemes" { resource "google_compute_global_forwarding_rule" "schemes_https" { name = "schemes-https" ip_address = google_compute_global_address.schemes.id - target = google_compute_target_https_proxy.schemes.id + target = google_compute_target_https_proxy.schemes_https.id port_range = "443" load_balancing_scheme = "EXTERNAL_MANAGED" }