-
-
Notifications
You must be signed in to change notification settings - Fork 258
/
variables.tf
91 lines (76 loc) · 1.94 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
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
variable "name" {
description = "The name of the ELB"
type = string
default = null
}
variable "name_prefix" {
description = "The prefix name of the ELB"
type = string
default = null
}
variable "security_groups" {
description = "A list of security group IDs to assign to the ELB"
type = list(string)
}
variable "subnets" {
description = "A list of subnet IDs to attach to the ELB"
type = list(string)
}
variable "internal" {
description = "If true, ELB will be an internal ELB"
type = bool
default = false
}
variable "cross_zone_load_balancing" {
description = "Enable cross-zone load balancing"
type = bool
default = true
}
variable "idle_timeout" {
description = "The time in seconds that the connection is allowed to be idle"
type = number
default = 60
}
variable "connection_draining" {
description = "Boolean to enable connection draining"
type = bool
default = false
}
variable "connection_draining_timeout" {
description = "The time in seconds to allow for connections to drain"
type = number
default = 300
}
variable "tags" {
description = "A mapping of tags to assign to the resource"
type = map(string)
default = {}
}
variable "listener" {
description = "A list of listener blocks"
type = list(map(string))
}
variable "access_logs" {
description = "An access logs block"
type = map(string)
default = {}
}
variable "health_check" {
description = "A health check block"
type = map(string)
}
variable "number_of_instances" {
description = "Number of instances to attach to ELB"
type = number
default = 0
}
variable "instances" {
description = "List of instances ID to place in the ELB pool"
type = list(string)
default = []
}
variable "create_elb" {
description = "Create the elb or not"
type = bool
default = true
}