-
Notifications
You must be signed in to change notification settings - Fork 0
/
vars.tf
40 lines (34 loc) · 785 Bytes
/
vars.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
variable "service_name" {
type = string
description = "ECS service name"
}
variable "task_cpu" {
type = number
description = "CPU units"
default = 0
}
variable "task_memory" {
type = number
description = "Task memory in Mb"
default = 128
}
variable "task_number" {
type = number
description = "Task number in service"
default = 1
}
variable "environment" {
type = list(object({ name = string, value = string }))
description = "Environment variables in task definition"
default = []
}
variable "retention" {
type = number
description = "ECR untagged image retention in days"
default = 15
}
variable "log_retention" {
type = number
description = "Cloudwatch loggroup retention in days"
default = 30
}