-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathvariables.tf
66 lines (54 loc) · 1.5 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
# Region to build the EMR cluster in
# If this is changed you MUST update emr_config_mangement_cidr_blocks
variable "region" {
default = "us-west-2"
}
# Note: These change from region-to-region. See README for details.
variable "sns_source_addresses" {
type = "list"
default = [
"205.251.233.160/28",
"205.251.233.176/29",
"205.251.233.32/28",
"205.251.233.48/29",
"205.251.234.32/28",
"54.240.230.176/29",
"54.240.230.240/29",
]
}
# The Size of the Master
variable "master_instance_type" {
default = "r4.xlarge"
}
# The Size of the Core Node
variable "core_instance_type" {
default = "r4.xlarge"
}
# The initial number of instances to start
variable "core_instance_count_min" {
default = 1
}
# The maximum number of core nodes to scale up to
variable "core_instance_count_max" {
default = 3
}
# The EMR release, see: https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-release-5x.html
variable "emr_release" {
default = "emr-5.13.0"
}
# The size (in GB) where HDFS will store it's data
variable "core_volume_size" {
default = 100
}
# The size (in GB) the root filesystem will be
variable "root_volume_size" {
default = 100
}
# The port that Zeppelin runs on
variable "zeppelin_port" {
default = 8893
}
# A name for the cluster. Most AWS resources created will contain this name for easy identification
variable "cluster_name" {}
# The VPC in which to create the EMR cluster, subnet IDs will be inferred. See "Security Module" in the README
variable "vpc_id" {}