Terraform module to configure Google Cloud Serverless VPC Access
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"
}
Name | Version |
---|---|
terraform | >= 0.13 |
~> 6.0 |
Name | Version |
---|---|
~> 6.0 |
No modules.
Name | Type |
---|---|
google_project_service.servicenetworking | resource |
google_project_service.vpcaccess | resource |
google_vpc_access_connector.this | resource |
google_client_config.current | data source |
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 |
machine_type | Machine type of VM Instance underlying connector. | string |
"e2-micro" |
no |
max_instances | Maximum value of instances in autoscaling group underlying the connector. Value must be between 3 and 10, inclusive. Must be higher than the value specified by min_instances. | number |
"10" |
no |
min_instances | Minimum value of instances in autoscaling group underlying the connector. Value must be between 2 and 9, inclusive. Must be lower than the value specified by max_instances. | number |
"2" |
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) |
{ |
no |
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. |
machine_type | Machine type of VM Instance underlying connector. |
max_instances | Maximum number of VM instances in autoscaling group underlying the connector. |
min_instances | Minimum number of VM instances in autoscaling group underlying the connector. |
name | Name of the connector. |