-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
88 lines (71 loc) · 1.63 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
variable "project_name" {
description = "Name for the project"
default = ""
}
variable "ecr_repo" {
description = "Only the docker (ECR) repo name in your region/account"
default = ""
}
variable "ecr_repo_tag" {
description = "Docker image tag in ECR"
default = "latest"
}
variable "security_groups" {
description = "Security group IDs to run ECS within"
type = list(string)
}
variable "subnets" {
description = "Subnets for ECS to run within"
type = list(string)
}
variable "ecs_cpu" {
description = "Amount of CPU for the container"
default = "256"
}
variable "ecs_memory" {
description = "Amount of Memory for the container"
default = "512"
}
variable "ecs_role_arn" {
description = "Override default ecs role"
default = ""
}
variable "alb_listen_port" {
description = "Port for ALB to listen on"
default = 80
}
variable "vpc_id" {
description = "VPC ID for ALB"
}
variable "container_port" {
description = "ECS port on the container"
default = ""
}
variable "log_group_count" {
description = "/aws/ecs log group count"
default = 1
}
variable "desired_count" {
description = "Desired running containers count"
default = 1
}
variable "deployment_minimum_healthy_percent" {
description = "Minimum healthy percent for ECS"
default = 0
}
variable "env_keys" {
description = "Keys for env vars"
default = []
}
variable "env_vals" {
description = "Values for env vars"
default = []
}
variable "health_check_path" {
description = ""
default = "/"
}
variable "include_alb" {
description = ""
default = true
}