-
-
Notifications
You must be signed in to change notification settings - Fork 82
/
Copy pathvariables.tf
100 lines (81 loc) · 3.43 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
variable "region" {
type = string
description = "AWS region"
}
variable "availability_zones" {
type = list(string)
description = "List of availability zones"
}
variable "ebs_root_volume_size" {
type = number
description = "Size in GiB of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Available in Amazon EMR version 4.x and later"
}
variable "visible_to_all_users" {
type = bool
description = "Whether the job flow is visible to all IAM users of the AWS account associated with the job flow"
}
variable "release_label" {
type = string
description = "The release label for the Amazon EMR release. https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-release-5x.html"
}
variable "applications" {
type = list(string)
description = "A list of applications for the cluster. Valid values are: Flink, Ganglia, Hadoop, HBase, HCatalog, Hive, Hue, JupyterHub, Livy, Mahout, MXNet, Oozie, Phoenix, Pig, Presto, Spark, Sqoop, TensorFlow, Tez, Zeppelin, and ZooKeeper (as of EMR 5.25.0). Case insensitive"
}
variable "configurations_json" {
type = string
description = "A JSON string for supplying list of configurations for the EMR cluster"
default = ""
}
variable "core_instance_group_instance_type" {
type = string
description = "EC2 instance type for all instances in the Core instance group"
}
variable "core_instance_group_instance_count" {
type = number
description = "Target number of instances for the Core instance group. Must be at least 1"
}
variable "core_instance_group_ebs_size" {
type = number
description = "Core instances volume size, in gibibytes (GiB)"
}
variable "core_instance_group_ebs_type" {
type = string
description = "Core instances volume type. Valid options are `gp2`, `io1`, `standard` and `st1`"
}
variable "core_instance_group_ebs_volumes_per_instance" {
type = number
description = "The number of EBS volumes with this configuration to attach to each EC2 instance in the Core instance group"
}
variable "master_instance_group_instance_type" {
type = string
description = "EC2 instance type for all instances in the Master instance group"
}
variable "master_instance_group_instance_count" {
type = number
description = "Target number of instances for the Master instance group. Must be at least 1"
}
variable "master_instance_group_ebs_size" {
type = number
description = "Master instances volume size, in gibibytes (GiB)"
}
variable "master_instance_group_ebs_type" {
type = string
description = "Master instances volume type. Valid options are `gp2`, `io1`, `standard` and `st1`"
}
variable "master_instance_group_ebs_volumes_per_instance" {
type = number
description = "The number of EBS volumes with this configuration to attach to each EC2 instance in the Master instance group"
}
variable "create_task_instance_group" {
type = bool
description = "Whether to create an instance group for Task nodes. For more info: https://www.terraform.io/docs/providers/aws/r/emr_instance_group.html, https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-master-core-task-nodes.html"
}
variable "ssh_public_key_path" {
type = string
description = "Path to SSH public key directory (e.g. `/secrets`)"
}
variable "generate_ssh_key" {
type = bool
description = "If set to `true`, new SSH key pair will be created"
}