Skip to content

Commit

Permalink
chore: update connection metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
q2w committed Nov 18, 2024
1 parent 279c8e8 commit 2e2cba8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions modules/backend/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ spec:
connections:
- source:
source: github.com/terraform-google-modules/terraform-google-vm//modules/mig
version: ~> 12.0
version: ">= 12.0"
spec:
outputExpr: '{"group": instance_group}'
outputExpr: '{"group": instance_group, "description": "Input created by connection", "balancing_mode": "UTILIZATION", "capacity_scaler": 1.0, "max_connections": 1000, "max_connections_per_instance": 1000, "max_connections_per_endpoint": 1000, "max_rate": 1000, "max_rate_per_instance": 100, "max_rate_per_endpoint": 100, "max_utilization": 0.8}'
- name: serverless_neg_backends
description: The list of serverless backend which serves the traffic.
varType: |-
Expand All @@ -169,7 +169,7 @@ spec:
connections:
- source:
source: github.com/GoogleCloudPlatform/terraform-google-cloud-run//modules/v2
version: ~> 0.13
version: ">= 0.13"
spec:
outputExpr: '{"region": location, "service_name": service_name, "type": "cloud-run", "service_version": ""}'
- name: iap_config
Expand Down
2 changes: 1 addition & 1 deletion modules/frontend/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ resource "google_compute_url_map" "default" {
default_service = path_matcher.value["/*"]

dynamic "path_rule" {
for_each = path_matcher.value
for_each = { for k, v in path_matcher.value : k => v if k != "/*" }
content {
paths = [path_rule.key]
service = path_rule.value
Expand Down

0 comments on commit 2e2cba8

Please sign in to comment.