-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
48 lines (40 loc) · 1.57 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
variable "name" {
description = "Load balancer service name"
type = string
}
variable "plan" {
description = "Load balancer service plan"
type = string
default = "development"
}
variable "zone" {
description = "Load balancer service zone. Must be the same as private network and servers used with the service"
type = string
}
variable "network" {
description = "UUID of a private network where traffic will be routed. Must be the same as load balancer zone"
type = string
}
variable "backend_servers" {
description = "List of servers that load balancer should distribute the traffic to. Each item in the list should contain the IP address and port, separated with colon (e.g 10.0.0.2:3000)"
type = list(string)
}
variable "backend_server_port" {
description = "Port that will be used by load balancer when sending traffic to each backend server"
type = number
}
variable "frontend_port" {
description = "Port on which the load balancer frontend will listen for requests"
type = number
default = 443
}
variable "max_server_sessions" {
description = "Maximum amount of sessions for single server before queueing"
type = number
default = 1000
}
variable "domains" {
description = "List of domains that will be used with this load balancer. All of the domains in this list should have a CNAME record set pointing to load balancer DNS name (see `dns_name` output). If left empty, no TLS configuration will be created for the load balancer frontend."
type = list(string)
default = []
}