-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathvariables.tf
59 lines (47 loc) · 851 Bytes
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
###
# Required variables.
###
variable "vpc_id" {
type = "string"
}
variable "subnet_ids" {
type = "list"
}
variable "proxy_allowed_cidr" {
type = "string"
}
variable "ssh_allowed_cidr" {
type = "string"
}
# Environment (ex: dev or prod) gets appended to names and tags.
variable "environment" {
type = "string"
}
###
# Optional variables. Generally okay to leave at the default.
###
# Additional tags to apply to all tagged resources.
variable "extra_tags" {
type = "map"
}
variable "proxy_port" {
default = 3128
}
variable "egress_allowed_cidr" {
default = [
"0.0.0.0/0",
]
}
variable "min_size" {
default = 3
}
variable "max_size" {
default = 9
}
variable "ami_id" {
# Centos 7 w/ENI. ENI is required for the m5 instance type.
default = "ami-9887c6e7"
}
variable "instance_type" {
default = "m5.xlarge"
}