You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Ability to run Terraform with your AWS Account. Terraform 0.11+ (you can download tfswitch to help with switching your terraform version)
8
+
* Ability to run Terraform with your AWS Account. Terraform 0.12+ (you can download tfswitch to help with switching your terraform version)
9
9
* A subnet within a VPC for the EMR cluster to run in.
10
10
* An [S3 Bucket](https://github.com/terraform-aws-modules/terraform-aws-s3-bucket) for Segment to load data into. You can create a new one just for this, or re-use an existing one you already have.
description="Name of the S3 bucket used by the Data Lake. The EMR cluster will be configured to store logs in this bucket."
3
-
type="string"
3
+
type=string
4
4
}
5
5
6
6
variable"subnet_id" {
7
7
description="VPC subnet id where you want the job flow to launch. Cannot specify the cc1.4xlarge instance type for nodes of a job flow launched in a Amazon VPC."
8
-
type="string"
8
+
type=string
9
9
}
10
10
11
11
variable"master_security_group" {
12
12
description="Identifier of the Amazon EC2 EMR-Managed security group for the master node."
13
-
type="string"
13
+
type=string
14
14
default=""
15
15
}
16
16
17
17
variable"slave_security_group" {
18
18
description="Identifier of the Amazon EC2 EMR-Managed security group for the slave nodes."
19
-
type="string"
19
+
type=string
20
20
default=""
21
21
}
22
22
23
23
variable"tags" {
24
24
description="A map of tags to add to all resources. A vendor=segment tag will be added automatically (which is also used by the IAM policy to provide Segment access to submit jobs)."
25
-
type="map"
25
+
type=map(string)
26
26
default={}
27
27
}
28
28
29
29
variable"cluster_name" {
30
30
description="Name of the EMR cluster that the module creates"
31
-
type="string"
31
+
type=string
32
32
default="segment-data-lake"
33
33
}
34
34
35
35
variable"emr_logs_s3_prefix" {
36
36
description="Prefix for writing EMR cluster logs to S3. Make sure to include a trailing slash (/) when setting this."
37
-
type="string"
37
+
type=string
38
38
default="logs/"
39
39
}
40
40
41
41
variable"iam_emr_service_role" {
42
42
description="Name of the EMR service role"
43
-
type="string"
43
+
type=string
44
44
}
45
45
46
46
variable"iam_emr_autoscaling_role" {
47
47
description="Name of the EMR autoscaling role"
48
-
type="string"
48
+
type=string
49
49
}
50
50
51
51
variable"iam_emr_instance_profile" {
52
52
description="Name of the EMR EC2 instance profile"
53
-
type="string"
53
+
type=string
54
54
}
55
55
56
56
variable"master_instance_type" {
57
57
description="EC2 Instance Type for Master"
58
-
type="string"
58
+
type=string
59
59
default="m5.xlarge"
60
60
}
61
61
62
62
variable"core_instance_type" {
63
63
description="EC2 Instance Type for Core Nodes"
64
-
type="string"
64
+
type=string
65
65
default="m5.xlarge"
66
66
}
67
67
68
68
variable"task_instance_type" {
69
69
description="EC2 Instance Type for Task Nodes"
70
-
type="string"
70
+
type=string
71
71
default="m5.xlarge"
72
72
}
73
73
74
74
variable"core_instance_count" {
75
75
description="Number of Core Nodes"
76
-
type="string"
76
+
type=string
77
77
default="2"
78
78
}
79
79
80
80
variable"core_instance_max_count" {
81
81
description="Max number of Core Nodes used on autoscale"
82
-
type="string"
82
+
type=string
83
83
default="4"
84
84
}
85
85
86
86
variable"task_instance_count" {
87
87
description="Number of instances of Task Nodes"
88
-
type="string"
88
+
type=string
89
89
default="2"
90
90
}
91
91
92
92
variable"task_instance_max_count" {
93
93
description="Max number of Task Nodes used on autoscale"
0 commit comments