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