From f845ce25c776a318650988526d95276b70925729 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Thu, 11 Mar 2021 19:36:23 -0500 Subject: [PATCH] Modeler is not a public-facing service (#1917) --- terraform/service_modeler.tf | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/terraform/service_modeler.tf b/terraform/service_modeler.tf index d28821669..9e1b279b9 100644 --- a/terraform/service_modeler.tf +++ b/terraform/service_modeler.tf @@ -139,39 +139,6 @@ resource "google_cloud_run_service" "modeler" { } } -resource "google_compute_region_network_endpoint_group" "modeler" { - name = "modeler" - provider = google-beta - project = var.project - region = var.region - - network_endpoint_type = "SERVERLESS" - - cloud_run { - service = google_cloud_run_service.modeler.name - } -} - -resource "google_compute_backend_service" "modeler" { - count = local.enable_lb ? 1 : 0 - provider = google-beta - name = "modeler" - project = var.project - - backend { - group = google_compute_region_network_endpoint_group.modeler.id - } - security_policy = google_compute_security_policy.cloud-armor.name - log_config { - enable = var.enable_lb_logging - sample_rate = var.enable_lb_logging ? 1 : null - } -} - -output "modeler_url" { - value = google_cloud_run_service.modeler.status.0.url -} - # # Create scheduler job to invoke the service on a fixed interval. #