Skip to content

Terraform module to configure Google Cloud Serverless VPC Access

License

Notifications You must be signed in to change notification settings

gr4vy/terraform-google-serverless-vpc-access

Repository files navigation

terraform-google-serverless-vpc-access

Terraform module to configure Google Cloud Serverless VPC Access

Usage

module "serverless_vpc_access" {
  source = "git::https://github.com/gr4vy/terraform-google-serverless-vpc-access.git?ref=v1.0.0"

  name          = "serverless-access"
  network       = "default"
  ip_cidr_range = "10.132.0.0/28"
}

Requirements

Name Version
terraform >= 0.13.0
google >= 3.11.0

Providers

Name Version
google >= 3.11.0

Modules

No Modules.

Resources

Name
google_client_config
google_project_service
google_vpc_access_connector

Inputs

Name Description Type Default Required
ip_cidr_range CIDR /28 range of internal addresses (following RFC 4632 notation) for the connector to use. string "10.8.0.0/28" no
max_throughput Maximum throughput of the connector in 100 Mbps increments. Must be greater that min_throughput. Higest possible vaule is 1000. number 1000 no
min_throughput Minimum throughput of the connector in 100 Mbps increments. Lowest possible value is 200. number 200 no
name Name of the Serverless VPC Access Connector (Max 25 characters). string n/a yes
network Name of the VPC to connect to. string "default" no
project_id The ID of the project in which to create the resources. If this is not provided, the provider project is used. string "" no
region The region in which to create the resources. string "us-central1" no
timeouts Terraform resource management timeouts. map(string)
{
"create": "6m",
"delete": "10m"
}
no

Outputs

Name Description
id Identifier for the connector with the format projects/{{project}}/locations/{{region}}/connectors/{{name}}.
ip_cidr_range The CIDR range of internal IP addresses the connector uses.
max_throughput Maximum throughput of the connector in Mbps.
min_throughput Minimum throughput of the connector in Mbps.
name Name of the connector.

About

Terraform module to configure Google Cloud Serverless VPC Access

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages