-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
63 lines (58 loc) · 1.02 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
variable "region" {}
variable "node_count" {}
variable "web_servers_private_ips" {}
variable "port" {
type = number
default = 80
}
variable "protocol" {
type = string
default = "http"
}
variable "check" {
type = string
default = "http_body"
}
variable "check_path" {
type = string
default = "/healthcheck/"
}
variable "check_body" {
type = string
default = "healthcheck"
}
variable "check_attempts" {
type = number
default = 30
}
variable "check_timeout" {
type = number
default = 25
}
variable "check_interval" {
type = number
default = 30
}
variable "stickiness" {
type = string
default = "http_cookie"
}
variable "algorithm" {
type = string
default = "leastconn"
# default = "roundrobin"
# default = "source"
}
variable "tags" {
type = list(string)
default = ["example"]
}
variable "ENV" {
description = "Environment var."
type = string
default = ""
}
variable "SITE" {
description = "Site name of the project/app."
default = ""
}