-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
60 lines (48 loc) · 1012 Bytes
/
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
variable "aws_region" {
default = "us-east-1"
}
variable "tags" {
type = map(string)
default = {}
}
# The application's name
variable "app" {
type = string
}
variable "task_memory" {
type = string
default = "4096"
}
variable "task_cpu" {
type = string
default = "2048"
}
variable "image" {
type = string
}
variable "image_version" {
type = string
}
# Whether the application is available on the public internet,
# also will determine which subnets will be used (public or private)
variable "internal" {
default = "true"
}
# The port the container will listen on, used for load balancer health check
# Best practice is that this value is higher than 1024 so the container processes
# isn't running at root.
variable "container_port" {
}
# The port the load balancer will listen on
variable "lb_port" {
default = "80"
}
# The load balancer protocol
variable "lb_protocol" {
default = "TCP"
}
# Logs
variable "log_retention_days" {
type = number
default = 7
}