Skip to content

Commit 5b7ec53

Browse files
committed
chore: update connection metadata
1 parent 6c45d7e commit 5b7ec53

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/backend/metadata.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ spec:
153153
connections:
154154
- source:
155155
source: github.com/terraform-google-modules/terraform-google-vm//modules/mig
156-
version: ~> 12.0
156+
version: ">= 12.0"
157157
spec:
158-
outputExpr: '{"group": instance_group}'
158+
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}'
159159
- name: serverless_neg_backends
160160
description: The list of serverless backend which serves the traffic.
161161
varType: |-
@@ -169,7 +169,7 @@ spec:
169169
connections:
170170
- source:
171171
source: github.com/GoogleCloudPlatform/terraform-google-cloud-run//modules/v2
172-
version: ~> 0.13
172+
version: ">= 0.13"
173173
spec:
174174
outputExpr: '{"region": location, "service_name": service_name, "type": "cloud-run", "service_version": ""}'
175175
- name: iap_config

modules/frontend/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ resource "google_compute_url_map" "default" {
204204
default_service = path_matcher.value["/*"]
205205

206206
dynamic "path_rule" {
207-
for_each = path_matcher.value
207+
for_each = { for k, v in path_matcher.value : k => v if k != "/*" }
208208
content {
209209
paths = [path_rule.key]
210210
service = path_rule.value

0 commit comments

Comments
 (0)