-
-
Notifications
You must be signed in to change notification settings - Fork 124
/
variables.tf
117 lines (95 loc) · 3.19 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
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
variable "region" {
type = string
description = "AWS Region for S3 bucket"
}
variable "availability_zones" {
type = list(string)
description = "List of availability zones"
}
variable "vpc_cidr_block" {
type = string
description = "VPC CIDR block"
}
variable "internal" {
type = bool
description = "A boolean flag to determine whether the ALB should be internal"
}
variable "http_enabled" {
type = bool
description = "A boolean flag to enable/disable HTTP listener"
}
variable "http_redirect" {
type = bool
description = "A boolean flag to enable/disable HTTP redirect to HTTPS"
}
variable "access_logs_enabled" {
type = bool
description = "A boolean flag to enable/disable access_logs"
}
variable "cross_zone_load_balancing_enabled" {
type = bool
description = "A boolean flag to enable/disable cross zone load balancing"
}
variable "http2_enabled" {
type = bool
description = "A boolean flag to enable/disable HTTP/2"
}
variable "idle_timeout" {
type = number
description = "The time in seconds that the connection is allowed to be idle"
}
variable "ip_address_type" {
type = string
description = "The type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack`."
}
variable "deletion_protection_enabled" {
type = bool
description = "A boolean flag to enable/disable deletion protection for ALB"
}
variable "deregistration_delay" {
type = number
description = "The amount of time to wait in seconds before changing the state of a deregistering target to unused"
}
variable "health_check_path" {
type = string
description = "The destination for the health check request"
}
variable "health_check_timeout" {
type = number
description = "The amount of time to wait in seconds before failing a health check request"
}
variable "health_check_healthy_threshold" {
type = number
description = "The number of consecutive health checks successes required before considering an unhealthy target healthy"
}
variable "health_check_unhealthy_threshold" {
type = number
description = "The number of consecutive health check failures required before considering the target unhealthy"
}
variable "health_check_interval" {
type = number
description = "The duration in seconds in between health checks"
}
variable "health_check_matcher" {
type = string
description = "The HTTP response codes to indicate a healthy check"
}
variable "alb_access_logs_s3_bucket_force_destroy" {
type = bool
description = "A boolean that indicates all objects should be deleted from the ALB access logs S3 bucket so that the bucket can be destroyed without error"
}
variable "target_group_port" {
type = number
description = "The port for the default target group"
}
variable "target_group_target_type" {
type = string
description = "The type (`instance`, `ip` or `lambda`) of targets that can be registered with the target group"
}
variable "stickiness" {
type = object({
cookie_duration = number
enabled = bool
})
description = "Target group sticky configuration"
}