-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
43 lines (36 loc) · 1.36 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
# ---------------------------------------------------------------------------------------------------------------------
# REQUIRED PARAMETERS
# You must provide a value for each of these parameters
# ---------------------------------------------------------------------------------------------------------------------
variable "elb_name" {
description = "To name to use for ELB"
type = string
}
variable "subnet_ids" {
description = "The subnet IDs to deploy to"
type = list(string)
}
# ---------------------------------------------------------------------------------------------------------------------
# OPTIONAL PARAMETERS
# Provide some reasonable defaults
# ---------------------------------------------------------------------------------------------------------------------
variable "instance_port" {
description = "The port for that instance listens on for requests"
type = string
default = 8080
}
variable "instance_protocol" {
description = "The protocol that the instance expects to communicate over"
type = string
default = "http"
}
variable "lb_port" {
description = "The port that the load balancer listens for requests"
type = string
default = 80
}
variable "lb_protocol" {
description = "The protocol that the load balancer uses for requests"
type = string
default = "http"
}