From b820ec85be1a47dac6943b094027dedd739d2c7f Mon Sep 17 00:00:00 2001 From: soringumeni1 Date: Tue, 6 Aug 2024 17:50:00 +0100 Subject: [PATCH] feat: add min_throughput to vpc-serverless-connector-beta --- modules/vpc-serverless-connector-beta/README.md | 1 + modules/vpc-serverless-connector-beta/main.tf | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/vpc-serverless-connector-beta/README.md b/modules/vpc-serverless-connector-beta/README.md index eb5ec048..82dd17ab 100644 --- a/modules/vpc-serverless-connector-beta/README.md +++ b/modules/vpc-serverless-connector-beta/README.md @@ -23,6 +23,7 @@ module "serverless-connector" { machine_type = "e2-standard-4" min_instances = 2 max_instances = 3 + min_throughput = 200 max_throughput = 300 }] } diff --git a/modules/vpc-serverless-connector-beta/main.tf b/modules/vpc-serverless-connector-beta/main.tf index 9e6f2d47..faec59d2 100644 --- a/modules/vpc-serverless-connector-beta/main.tf +++ b/modules/vpc-serverless-connector-beta/main.tf @@ -34,5 +34,6 @@ resource "google_vpc_access_connector" "connector_beta" { machine_type = lookup(each.value, "machine_type", null) min_instances = lookup(each.value, "min_instances", null) max_instances = lookup(each.value, "max_instances", null) + min_throughput = lookup(each.value, "min_throughput", null) max_throughput = lookup(each.value, "max_throughput", null) }