-
Notifications
You must be signed in to change notification settings - Fork 19
/
variables.tf
39 lines (31 loc) · 1003 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
variable "region" {
description = "AWS region to deploy to (e.g. ap-southeast-2)"
}
variable "service_name" {
description = "Name of service"
}
variable "container_port" {
description = "Port that service will listen on"
}
variable "docker_image" {
description = "Docker image to run"
}
variable "docker_tag" {
description = "Tag of docker image to run"
}
variable "container_cpu" {
description = "The number of cpu units to reserve for the container. See https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html"
default = "256"
}
variable "container_memory" {
description = "The number of MiB of memory to reserve for the container. See https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html"
default = "256"
}
variable "min_capacity" {
description = "Minimum number of containers to run"
default = 2
}
variable "max_capacity" {
description = "Minimum number of containers to run"
default = 6
}