Get a Serverless VPC Access connector.
To get more information about Connector, see:
data "google_vpc_access_connector" "sample" {
name = "vpc-con"
}
resource "google_vpc_access_connector" "connector" {
name = "vpc-con"
ip_cidr_range = "10.8.0.0/28"
network = "default"
region = "us-central1"
}
The following arguments are supported:
name
- (Required) Name of the resource.project
- (Optional) The ID of the project in which the resource belongs. If it
is not provided, the provider project is used.
region
- (Optional) The region in which the resource belongs. If it
is not provided, the provider region is used.
See google_vpc_access_connector resource for details of the available attributes.