-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_variables.tf
More file actions
86 lines (70 loc) · 1.57 KB
/
_variables.tf
File metadata and controls
86 lines (70 loc) · 1.57 KB
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
variable "environment" {
description = "Environment to deploy into"
type = string
}
variable "aws_region" {
description = "AWS Region to deploy into"
type = string
default = "ap-southeast-2"
}
variable "vpc_id" {
type = string
description = "VPC ID where the ECS cluster will be created"
}
variable "app_public_subnet_ids" {
type = list(string)
}
variable "alb_public_subnet_ids" {
type = list(string)
}
variable "instance_type" {
type = string
default = "t3.small"
}
# variable "desired_capacity" {
# type = number
# default = 1
# }
# variable "min_size" {
# type = number
# default = 1
# }
# variable "max_size" {
# type = number
# default = 2
# }
# variable "key_name" {
# type = string
# default = ""
# description = "Name of the key pair to use for SSH access to the EC2 instances."
# }
# variable "container_port" {
# type = number
# default = 3000
# description = "Listening port for the container"
# }
# variable "node_app_health_check_path" {
# type = string
# default = "/ping"
# description = "Health check path for the target group"
# }
# Public docker image for the application
variable "node_app_image" {
type = string
}
# variable "desired_service_count" {
# type = number
# default = 1
# }
# variable "node_app_container_name" {
# type = string
# default = "node-app"
# }
# variable "log_group_name" {
# type = string
# default = "/ecs/node-app"
# }
# variable "log_stream_prefix" {
# type = string
# default = "ecs"
# }