-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
48 lines (48 loc) · 1.14 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
variable "app_name" {
description = "Application Name"
type = string
}
variable "ecs_role_arn" {
description = "IAM Role for ECS"
type = string
}
variable "ecs_services" {
type = map(object({
image = string
cpu = number
memory = number
container_port = number
host_port = number
desired_count = number
is_public = bool
protocol = string
auto_scaling = object({
max_capacity = number
min_capacity = number
cpu_threshold = number
memory_threshold = number
})
}))
}
variable "internal_alb_dns" {
description = "Internal ALB DNS name"
type = string
}
variable "private_subnet_ids" {
description = "List of Private VPC Subnet IDs"
type = list(string)
}
variable "public_subnet_ids" {
description = "List of Public VPC Subnet IDs"
type = list(string)
}
variable "security_group_ids" {
description = "List of EC2 Security Group IDs"
type = list(string)
}
variable "target_group_arns" {
description = "Map of ALB Target Group ARNs"
type = map(object({
arn = string
}))
}