Skip to content

Commit

Permalink
feat: Add max_throughput to vpc-serverless-connector-beta (#322)
Browse files Browse the repository at this point in the history
Expose the max_throughput argument of the google_vpc_access_connector.
  • Loading branch information
rsinnet authored Oct 6, 2021
1 parent a5e1c21 commit 1cc50ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions modules/vpc-serverless-connector-beta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module "serverless-connector" {
machine_type = "e2-standard-4"
min_instances = 2
max_instances = 3
max_throughput = 300
}]
}
```
Expand Down
7 changes: 4 additions & 3 deletions modules/vpc-serverless-connector-beta/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ resource "google_vpc_access_connector" "connector_beta" {
project_id = lookup(each.value, "host_project_id", null)
}
}
machine_type = lookup(each.value, "machine_type", null)
min_instances = lookup(each.value, "min_instances", null)
max_instances = lookup(each.value, "max_instances", null)
machine_type = lookup(each.value, "machine_type", null)
min_instances = lookup(each.value, "min_instances", null)
max_instances = lookup(each.value, "max_instances", null)
max_throughput = lookup(each.value, "max_throughput", null)
}

0 comments on commit 1cc50ca

Please sign in to comment.