diff --git a/modules/backend/metadata.yaml b/modules/backend/metadata.yaml index f6ba6417..8fc6177e 100644 --- a/modules/backend/metadata.yaml +++ b/modules/backend/metadata.yaml @@ -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: |- @@ -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 diff --git a/modules/frontend/main.tf b/modules/frontend/main.tf index f17d1966..2989cc3d 100644 --- a/modules/frontend/main.tf +++ b/modules/frontend/main.tf @@ -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