-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
70 lines (58 loc) · 1.26 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
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
###
# Required variables.
###
variable "vpc_id" {
description = "VPC id"
type = string
}
variable "subnet_ids" {
description = "list of subnet ids"
type = list
}
variable "proxy_allowed_cidr" {
description = "networks to allow proxy"
type = string
}
variable "ssh_allowed_cidr" {
description = "networks to allow ssh"
type = string
}
variable "region" {
description = "AWS region"
type = string
}
# Environment (ex: dev or prod) gets appended to names and tags.
variable "environment" {
description = "environment in names and tags"
type = string
}
###
# Optional variables. Generally okay to leave at the default.
###
# Additional tags to apply to all tagged resources.
variable "tags" {
description = "additional tags"
type = map
}
variable "proxy_port" {
description = "squid proxy port"
default = 3128
}
variable "egress_allowed_cidr" {
description = "allowed oubound networks"
default = [
"0.0.0.0/0",
]
}
variable "min_size" {
description = "minimum number of proxy instances"
default = 2
}
variable "max_size" {
description = "maximum number of proxy instances"
default = 9
}
variable "instance_type" {
description = "instance type"
default = "m5.xlarge"
}