Skip to content

Commit 1cc50ca

Browse files
authored
feat: Add max_throughput to vpc-serverless-connector-beta (#322)
Expose the max_throughput argument of the google_vpc_access_connector.
1 parent a5e1c21 commit 1cc50ca

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

modules/vpc-serverless-connector-beta/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module "serverless-connector" {
2323
machine_type = "e2-standard-4"
2424
min_instances = 2
2525
max_instances = 3
26+
max_throughput = 300
2627
}]
2728
}
2829
```

modules/vpc-serverless-connector-beta/main.tf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ resource "google_vpc_access_connector" "connector_beta" {
3131
project_id = lookup(each.value, "host_project_id", null)
3232
}
3333
}
34-
machine_type = lookup(each.value, "machine_type", null)
35-
min_instances = lookup(each.value, "min_instances", null)
36-
max_instances = lookup(each.value, "max_instances", null)
34+
machine_type = lookup(each.value, "machine_type", null)
35+
min_instances = lookup(each.value, "min_instances", null)
36+
max_instances = lookup(each.value, "max_instances", null)
37+
max_throughput = lookup(each.value, "max_throughput", null)
3738
}

0 commit comments

Comments
 (0)