Skip to content

Commit

Permalink
GH-110: Rename HTTPS frontend for load balancer
Browse files Browse the repository at this point in the history
Makes way for an HTTP one.
  • Loading branch information
markhobson committed Jun 14, 2024
1 parent 504c686 commit 1d6b808
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloud/schemes/load-balancer/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
}

0 comments on commit 1d6b808

Please sign in to comment.