serverless-vpc-access
gr4vy/serverless-vpc-access/google
Terraform module to configure Google Cloud Serverless VPC Access
terraform-google-serverless-vpc-access Terraform module to configure Google Cloud Serverless VPC Access Usage ``hcl 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 | | google | ~> 6.0 | Providers | Name | Version | |------|---------| | google | ~> 6.0 | Modules No modules. Resources | Name | Type | |------|------| | google_project_service.servicenetworking | resource | | google_project_service.vpcaccess | resource | | google_vpc_access_connector.this | resource | | google_client_config.current | data source | Inputs | Name | Description | Type | Default | Re
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | Name of the Serverless VPC Access Connector (Max 25 characters). | required |
| project_id | string | The ID of the project in which to create the resources. If this is not provided, | "" |
| region | string | The region in which to create the resources. | "us-central1" |
| network | string | Name of the VPC to connect to. | "default" |
| ip_cidr_range | string | CIDR `/28` range of internal addresses (following RFC 4632 notation) for the con | "10.8.0.0/28" |
| machine_type | string | Machine type of VM Instance underlying connector. | "e2-micro" |
| timeouts | map(string) | Terraform resource management timeouts. | {
"create": "6m",
"delete": "10m"
} |
| min_instances | number | Minimum value of instances in autoscaling group underlying the connector. Value | "2" |
| max_instances | number | Maximum value of instances in autoscaling group underlying the connector. Value | "10" |
max_instances — Maximum number of VM instances in autoscaling group underlying the connector.name — Name of the connector.id — Identifier for the connector with the format `projects/{{project}}/locations/{{region}}/connectors/{ip_cidr_range — The CIDR range of internal IP addresses the connector uses.machine_type — Machine type of VM Instance underlying connector.min_instances — Minimum number of VM instances in autoscaling group underlying the connector.