-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
64 lines (59 loc) · 1.28 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
variable "region" {
default = "eu-west-1"
description = "AWS Region"
}
variable "environment" {
description = "Name of the environment to launch in. Used mainly for naming."
}
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"
default = {
"awslogs-group" = "common-log-group"
"awslogs-region"= "eu-west-1",
"awslogs-stream-prefix"= "container"
}
}
variable "port_mappings" {
type = "list"
default = [
{
"hostPort" = "__NOT_DEFINED__",
"containerPort" = "__NOT_DEFINED__"
}
]
}
variable "links" {
type = "list"
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 "task_role_arn" {
default = "ARN of the role that the task should run with."
}
variable "environment_vars" {
type = "map"
}