You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: variables.tf
+53-9Lines changed: 53 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ variable "app_subdomain_name" {
11
11
description="The domain name for the public facing app. Application load balancer will be attached to this domain. Should be different for staging and production applications."
12
12
}
13
13
variable"alb_name" {
14
-
type=string
14
+
type=string
15
15
description="Name of the application load balancer."
description="Number of days to retain application load balancer access logs."
24
24
}
25
25
variable"app_port" {
26
-
type=number
26
+
type=number
27
27
description="The port number app is running on."
28
28
}
29
29
variable"alb_default_static_response" {
30
30
type=object({
31
-
content_type =string
31
+
content_type =string
32
32
encoded_message_body =string
33
-
status_code =string
33
+
status_code =string
34
34
})
35
35
description="The default static response to return if no rules match in alb."
36
36
}
37
37
variable"vpc_id" {
38
-
type=string
38
+
type=string
39
39
description="Identifier for AWS VPC where the resources will be created."
40
40
}
41
41
variable"http_https_ingress_sg_id" {
42
-
type=string
42
+
type=string
43
43
description="Identifier for the security group allowing access to HTTP(80) and HTTPS(443) ingress. This is used for ingress traffic to load balancer."
44
44
}
45
45
variable"alb_subnets" {
46
-
type=list(string)
46
+
type=list(string)
47
47
description="List of subnet identifiers to associate subnets to load balancer."
48
48
}
49
49
variable"alb_aws_account_arn" {
50
-
type=string
50
+
type=string
51
51
description="AWS account ARN for the account containing load balancer."
52
52
}
53
53
variable"alb_access_logs_bucket_name" {
54
-
type=string
54
+
type=string
55
55
description="S3 bucket name which will be used to store load balancer access logs. Prefix <var.environment> will be added. The bucket name should be unique globally."
56
56
}
57
+
variable"target_group_app_enabled" {
58
+
type=bool
59
+
description="Enable /Disable target health check."
60
+
default=true
61
+
}
62
+
variable"target_group_app_healthy_threshold" {
63
+
type=number
64
+
description="Number of consecutive health checks successes required before considering an unhealthy target healthy."
65
+
default=3
66
+
}
67
+
variable"target_group_app_unhealthy_threshold" {
68
+
type=number
69
+
description="Number of consecutive health check failures required before considering the target unhealthy."
70
+
default=3
71
+
}
72
+
variable"target_group_app_interval" {
73
+
type=number
74
+
description="Approximate amount of time, in seconds, between health checks of an individual target."
75
+
default=30
76
+
}
77
+
variable"target_group_app_matcher" {
78
+
type=string
79
+
description="Response codes to use when checking for a healthy responses from a target."
80
+
}
81
+
variable"target_group_app_path" {
82
+
type=string
83
+
description="Destination for the health check request."
84
+
}
85
+
variable"target_group_app_port" {
86
+
type=string
87
+
description="Port to use to connect with the target."
88
+
default="traffic-port"
89
+
}
90
+
variable"target_group_app_protocol" {
91
+
type=string
92
+
description="Protocol to use to connect with the target."
93
+
default="HTTP"
94
+
95
+
}
96
+
variable"target_group_app_timeout" {
97
+
type=number
98
+
description="Amount of time, in seconds, during which no response means a failed health check."
0 commit comments