kasm-terraform/gcp/modules/private_load_balancer
2024-04-25 20:58:25 +00:00
..
load_balancer.tf Added new GCP terraform provider 2024-04-25 20:58:25 +00:00
outputs.tf Added new GCP terraform provider 2024-04-25 20:58:25 +00:00
provider.tf Added new GCP terraform provider 2024-04-25 20:58:25 +00:00
README copy.md Added new GCP terraform provider 2024-04-25 20:58:25 +00:00
README.md Added new GCP terraform provider 2024-04-25 20:58:25 +00:00
variables.tf Added new GCP terraform provider 2024-04-25 20:58:25 +00:00

Requirements

Name Version
terraform ~> 1.0
google ~> 4.0

Providers

Name Version
google 4.81.0

Modules

No modules.

Resources

Name Type
google_compute_forwarding_rule.default resource
google_compute_region_backend_service.default resource
google_compute_region_health_check.tcp resource
google_compute_region_target_tcp_proxy.default resource
google_compute_network.network data source
google_compute_subnetwork.network data source

Inputs

Name Description Type Default Required
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

Outputs

Name Description
forwarding_rule The forwarding rule self_link.
forwarding_rule_id The forwarding rule id.
ip_address The internal IP assigned to the regional forwarding rule.