-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
64 lines (52 loc) · 1.13 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
variable "service_name" {
default = "Name of the service."
}
variable "service_image" {
description = "URL to the service image. Currently only Docker Hub an ECR are supported."
}
variable "cpu" {
description = "Number of CPU units to assign to this task."
}
variable "memory" {
description = "Memory in MegaBytes to assign to this task."
}
variable "log_driver" {
default = "awslogs"
}
variable "log_driver_options" {
type = map(string)
default = {
"awslogs-group" = "common-log-group"
"awslogs-region" = "eu-west-1"
"awslogs-stream-prefix" = "container"
}
}
variable "port_mappings" {
type = list(object({
hostPort = string
containerPort = string
}))
default = [
{
hostPort = "__NOT_DEFINED__"
containerPort = "__NOT_DEFINED__"
},
]
}
variable "links" {
type = list(string)
default = []
}
variable "essential" {
default = true
}
variable "entrypoint" {
default = ""
}
variable "service_command" {
default = ""
description = "The command that needs to run at startup of the task."
}
variable "environment_vars" {
type = map(string)
}