-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
18 lines (18 loc) · 957 Bytes
/
Copy pathvariables.tf
File metadata and controls
18 lines (18 loc) · 957 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
variable "cluster_name" { type = string }
variable "service_name" { type = string }
variable "vpc_id" { type = string }
variable "subnet_ids" { type = list(string) }
variable "container_image" { type = string }
variable "container_port" { type = number; default = 80 }
variable "cpu" { type = number; default = 256 }
variable "memory" { type = number; default = 512 }
variable "desired_count" { type = number; default = 2 }
variable "assign_public_ip" { type = bool; default = false }
variable "environment_variables" { type = map(string); default = {} }
variable "secrets" { type = map(string); default = {} }
variable "alb_security_group_id" { type = string; default = "" }
variable "target_group_arn" { type = string; default = "" }
variable "enable_autoscaling" { type = bool; default = false }
variable "min_count" { type = number; default = 1 }
variable "max_count" { type = number; default = 10 }
variable "tags" { type = map(string); default = {} }