From 381f459de12e181447731beee9ba4b06a513c586 Mon Sep 17 00:00:00 2001 From: Michael Kedar Date: Thu, 30 May 2024 14:39:23 +1000 Subject: [PATCH] Remove App Engine backend from GCLB (#2257) This just removes App Engine from the load balancer. I'll manually apply this on prod after it's merged. I still need to understand what happens to Datastore if we delete App Engine entirely. --- deployment/terraform/modules/osv/website.tf | 33 --------------------- 1 file changed, 33 deletions(-) diff --git a/deployment/terraform/modules/osv/website.tf b/deployment/terraform/modules/osv/website.tf index 9cb6a7d7e3a..898237cfd40 100644 --- a/deployment/terraform/modules/osv/website.tf +++ b/deployment/terraform/modules/osv/website.tf @@ -94,31 +94,6 @@ module "gclb" { url_map = google_compute_url_map.website.id backends = { - appengine = { - groups = [ - { - group = google_compute_region_network_endpoint_group.appengine_neg.id - } - ] - protocol = "HTTPS" - enable_cdn = true - cdn_policy = { - cache_key_policy = { - include_host = true - include_protocol = true - include_query_string = true - } - signed_url_cache_max_age_sec = 0 - } - - iap_config = { - enable = false - } - log_config = { - enable = false - } - } - cloudrun = { groups = [ { @@ -157,14 +132,6 @@ resource "google_compute_region_network_endpoint_group" "website_neg" { } } -resource "google_compute_region_network_endpoint_group" "appengine_neg" { - project = var.project_id - name = "appengine-neg" - network_endpoint_type = "SERVERLESS" - region = google_app_engine_application.app.location_id - app_engine {} -} - resource "google_compute_url_map" "website" { project = var.project_id name = "website-url-map"