Skip to content

Commit

Permalink
removed max throughput
Browse files Browse the repository at this point in the history
  • Loading branch information
nurairasia committed Jul 22, 2024
1 parent 2bbe55c commit 610f026
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
17 changes: 8 additions & 9 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@ resource "google_project_service" "serverless_vpc_api" {
}

resource "google_vpc_access_connector" "vpc_connector" {
name = local.connector_name
region = local.connector_region
network = var.vpc_name
machine_type = var.machine_type
min_instances = var.min_instances
max_instances = var.max_instances
max_throughput = var.max_throughput
ip_cidr_range = var.ip_cidr_range
depends_on = [google_project_service.networking_api, google_project_service.serverless_vpc_api]
name = local.connector_name
region = local.connector_region
network = var.vpc_name
machine_type = var.machine_type
min_instances = var.min_instances
max_instances = var.max_instances
ip_cidr_range = var.ip_cidr_range
depends_on = [google_project_service.networking_api, google_project_service.serverless_vpc_api]
dynamic "subnet" {
for_each = var.subnet == null ? [] : [0]
content {
Expand Down
6 changes: 0 additions & 6 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ variable "connector_timeout" {
default = "10m"
}

variable "max_throughput" {
description = "Maximum throughput of the Serverless VPC Access connector in Mbps."
type = number
default = 300
}

variable "subnet" {
description = "Subnet to use for serverless connector. Only way in case of shared vpc connector."
type = string
Expand Down

0 comments on commit 610f026

Please sign in to comment.