variables.tf
1.03 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
variable "elb_name" {}
variable "vpc_id" {}
variable "elb_is_internal" {
description = "Determines if the ELB is internal or not"
default = false
// Defaults to false, which results in an external IP for the ELB
}
#variable "elb_security_group" {}
// See README.md for details on finding the
// ARN of an SSL certificate in EC2
variable "ssl_certificate_id" {
description = "The ARN of the SSL Certificate in EC2"
}
variable "subnet_az1" {
description = "The subnet for AZ1"
}
variable "subnet_az2" {
description = "The subnet for AZ2"
}
variable "backend_port" {
description = "The port the service on the EC2 instances listens on"
}
variable "backend_protocol" {
description = "The protocol the backend service speaks"
// Possible options are
// - http
// - https
// - tcp
// - ssl (secure tcp)
}
variable "health_check_target" {
description = "The URL the ELB should use for health checks"
// This is primarily used with `http` or `https` backend protocols
// The format is like `HTTPS:443/health`
}