| backend_timeout_sec |
Backend timeout |
number |
30 |
no |
| backends |
List of backends, should be a map of key-value pairs for each backend, must have the 'group' key. |
list(any) |
n/a |
yes |
| connection_draining_timeout_sec |
Time for which instance will be drained |
number |
300 |
no |
| global_access |
Allow all regions on the same VPC network access. |
bool |
false |
no |
| health_check |
Health check to determine whether instances are responsive and able to do work |
object({ type = string check_interval_sec = number healthy_threshold = number timeout_sec = number unhealthy_threshold = number response = string proxy_header = string port = number port_name = string request = string request_path = string host = string enable_log = bool }) |
n/a |
yes |
| ip_protocol |
The IP protocol for the backend and frontend forwarding rule. TCP or UDP. |
string |
"TCP" |
no |
| labels |
The labels to attach to resources created by this module. |
map(string) |
{} |
no |
| load_balancing_policy |
The load balancing policy to use |
string |
"ROUND_ROBIN" |
no |
| load_balancing_scheme |
The load balancing scheme to use. The default is INTERNAL |
string |
"INTERNAL_MANAGED" |
no |
| name |
Name for the forwarding rule and prefix for supporting resources. |
string |
n/a |
yes |
| named_port |
Named port to allow access to the LB or resources through the VPC FW |
string |
n/a |
yes |
| network |
Name of the network to create resources in. |
string |
"default" |
no |
| network_project |
Name of the project for the network. Useful for shared VPC. Default is var.project. |
string |
"" |
no |
| port_range |
List of ports range to forward to backend services. Max is 5. |
string |
n/a |
yes |
| project |
The project to deploy to, if not set the default provider project is used. |
string |
"" |
no |
| region |
Region for cloud resources. |
string |
n/a |
yes |
| session_affinity |
The session affinity for the backends example: NONE, CLIENT_IP. Default is NONE. |
string |
"NONE" |
no |
| subnetwork |
Name of the subnetwork to create resources in. |
string |
"default" |
no |