-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
91 lines (73 loc) · 2.18 KB
/
variables.tf
File metadata and controls
91 lines (73 loc) · 2.18 KB
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
########################
# Custer Configuration #
########################
variable "platform_config" {
description = "Platform configuration"
type = map(string)
default = {}
}
variable "service_name" {
type = string
description = "The name of the service."
}
variable "ecs_cluster" {
type = string
description = "The name of the ecs_cluster."
}
####################
# External Routing #
####################
variable "bsg_consul_acl" {
type = string
description = "Which BSG consul acl to use (internal, external or officeaccess)"
default = "internal"
}
variable "external_url" {
type = string
description = <<-EOT
The external URL that should be routable to this service.
Ensure that this DNS entry is defined in the external DNS repository.
Note: Setting this value enables all related configurations,
but it does *NOT* allow external access to the services by itself.
To allow external access, you must also set the `bsg_consul_acl` variable.
EOT
default = ""
}
################
# Health Check #
################
variable "health_check_path" {
description = "The path to use for health checks"
type = string
default = "/"
}
variable "health_check_interval" {
description = "The interval between health checks"
type = string
default = "10"
}
variable "health_check_timeout" {
description = "The time to wait before marking a health check as failed"
type = string
default = "5"
}
variable "health_check_healthy_threshold" {
description = "The number of consecutive successful checks before considering the target healthy"
type = string
default = "4"
}
variable "health_check_unhealthy_threshold" {
description = "The number of consecutive failed checks before considering the target unhealthy"
type = string
default = "4"
}
variable "health_check_matcher" {
description = "The HTTP status codes to consider a successful response"
type = string
default = "200-299"
}
variable "deregistration_delay" {
description = "Delay before deregistration"
type = string
default = "30"
}