-
Notifications
You must be signed in to change notification settings - Fork 191
/
Copy pathvariables.tf
37 lines (30 loc) · 1.31 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
# ---------------------------------------------------------------------------------------------------------------------
# REQUIRED VARIABLES
# ---------------------------------------------------------------------------------------------------------------------
variable "name" {
description = "The name for the ASG. This name is also used to namespace all the other resources created by this module."
type = string
}
variable "instance_type" {
description = "The type of EC2 Instnaces to run in the ASG (e.g. t2.micro)"
type = string
}
variable "min_size" {
description = "The minimum number of EC2 Instances to run in the ASG"
type = number
}
variable "max_size" {
description = "The maximum number of EC2 Instances to run in the ASG"
type = number
}
variable "server_port" {
description = "The port number the web server on each EC2 Instance should listen on for HTTP requests"
type = number
}
variable "alb_port" {
description = "The port number the ALB should listen on for HTTP requests"
type = number
}
# ---------------------------------------------------------------------------------------------------------------------
# OPTIONAL VARIABLES
# ---------------------------------------------------------------------------------------------------------------------