-
Notifications
You must be signed in to change notification settings - Fork 7
/
vars.tf
138 lines (118 loc) · 3.45 KB
/
vars.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
###########
# General #
###########
variable "name" {
description = "Name to prefix all resources created on OpenStack"
type = string
}
################
# Loadbalancer #
################
variable "lb_description" {
description = "Human-readable description for the Loadbalancer"
type = string
default = ""
}
variable "lb_vip_subnet_id" {
description = "The network on which to allocate the Loadbalancer's address"
type = string
}
variable "lb_security_group_ids" {
description = "A list of security group IDs to apply to the loadbalancer"
type = list(string)
default = []
}
############
# Listener #
############
variable "listener_protocol" {
description = "The protocol - can either be TCP, HTTP, HTTPS or TERMINATED_HTTPS"
type = string
default = "HTTP"
}
variable "listener_protocol_port" {
description = "The port on which to listen for client traffic"
type = string
default = "80"
}
variable "listener_connection_limit" {
description = "The maximum number of connections allowed for the Listener"
type = string
default = "-1"
}
####################
# Loadbalance pool #
####################
variable "lb_pool_method" {
description = "The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, or SOURCE_IP"
type = string
default = "ROUND_ROBIN"
}
variable "lb_pool_protocol" {
description = "The protocol - can either be TCP, HTTP, HTTPS or PROXY"
type = string
default = "HTTP"
}
###########
# Monitor #
###########
variable "monitor_url_path" {
description = "Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS"
type = string
default = "/"
}
variable "monitor_expected_codes" {
description = "Required for HTTP(S) types. Expected HTTP codes for a passing HTTP(S) monitor. You can either specify a single status like 200, or a range like 200-202"
type = string
default = "200"
}
variable "monitor_delay" {
description = "The time, in seconds, between sending probes to members"
type = string
default = "20"
}
variable "monitor_timeout" {
description = "Maximum number of seconds for a monitor to wait for a ping reply before it times out"
type = string
default = "10"
}
variable "monitor_max_retries" {
description = "Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10"
type = string
default = "5"
}
##########
# Member #
##########
variable "member_port" {
description = "The port on which to listen for client traffic"
type = string
default = "80"
}
variable "member_address" {
description = "The IP addresses of the member to receive traffic from the load balancer"
type = list(string)
}
variable "member_subnet_id" {
description = "The subnet in which to access the member"
type = string
default = ""
}
#######
# SSL #
#######
variable "certificate" {
description = "The certificate data to be stored. (file_name)"
type = string
default = ""
}
variable "private_key" {
description = "The private key data to be stored. (file_name)"
type = string
default = ""
}
variable "certificate_intermediate" {
description = "The intermediate certificate data to be stored. (file_name)"
type = string
default = ""
}