Skip to content

Commit

Permalink
Revert "Enable HTTP2"
Browse files Browse the repository at this point in the history
This reverts commit b1f4ef7.
  • Loading branch information
cmorabito-woolpert committed Jan 14, 2025
1 parent f44d316 commit ad1a846
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
10 changes: 3 additions & 7 deletions deployment/fleetrouting-app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ resource "google_secret_manager_secret" "maps_api_key" {
labels = {}

replication {
auto {}
automatic = true
}
}

Expand All @@ -56,7 +56,7 @@ resource "google_secret_manager_secret_version" "maps_api_key" {
# cloud run services
module "cloud_run_fleetrouting_app" {
source = "GoogleCloudPlatform/cloud-run/google"
version = "~> 0.16.0"
version = "~> 0.2.0"

project_id = data.google_project.project.project_id
location = var.region
Expand Down Expand Up @@ -100,18 +100,14 @@ module "cloud_run_fleetrouting_app" {
}
]


limits = {
cpu : "1000m"
memory : "512Mi"
}
container_concurrency = 80
timeout_seconds = 3600

ports = {
name: "h2c"
port: 8080
}

# access enforced at the load balancer
members = [
"allUsers"
Expand Down
5 changes: 0 additions & 5 deletions deployment/load-balancer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ resource "google_compute_backend_service" "fleetrouting_app_backend" {
]
name = "${var.deployment_name}-backend"
description = null

protocol = "HTTP2"
enable_cdn = false

backend {
Expand All @@ -29,7 +27,6 @@ resource "google_compute_backend_service" "fleetrouting_app_backend" {
}

iap {
enabled = true
oauth2_client_id = var.iap_client_id
oauth2_client_secret = var.iap_client_secret
}
Expand All @@ -39,8 +36,6 @@ resource "google_compute_backend_service" "fleetrouting_app_backend" {
resource "google_compute_backend_service" "fleetrouting_app_icons_backend" {
name = "${var.deployment_name}-icons-backend"
description = null

protocol = "HTTP2"
enable_cdn = false

backend {
Expand Down

0 comments on commit ad1a846

Please sign in to comment.