From 3ae591b69b9f2b4bdda494f5d86b1ddaa70993a4 Mon Sep 17 00:00:00 2001 From: Ludovico Magnocavallo Date: Tue, 28 Apr 2026 19:44:56 +0200 Subject: [PATCH] docs(cloud-function-v2): remove redundant vpc_connector block in examples (#3920) --- modules/cloud-function-v2/README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/modules/cloud-function-v2/README.md b/modules/cloud-function-v2/README.md index 0cac99b7a..6e6382afd 100644 --- a/modules/cloud-function-v2/README.md +++ b/modules/cloud-function-v2/README.md @@ -351,7 +351,7 @@ module "cf_http" { # tftest fixtures=fixtures/vpc-connector.tf inventory=service-vpc-access-connector.yaml ``` -If creation of the VPC Access Connector is required, use the `vpc_connector.create` and `vpc_connector_create` variable which also supports optional attributes like number of instances, machine type, or throughput. +If creation of the VPC Access Connector is required, set `vpc_connector_create` to configure the connector with optional attributes like number of instances, machine type, or throughput. ```hcl module "cf_http" { @@ -363,9 +363,6 @@ module "cf_http" { bundle_config = { path = "assets/sample-function/" } - vpc_connector = { - create = true - } vpc_connector_create = { ip_cidr_range = "10.10.10.0/28" network = var.vpc.self_link @@ -390,9 +387,6 @@ module "cf_http" { bundle_config = { path = "assets/sample-function/" } - vpc_connector = { - create = true - } vpc_connector_create = { machine_type = "e2-standard-4" subnet = {