Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions aws_datalake/modules/emr/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ resource "aws_emr_cluster" "segment_data_lake_emr_cluster" {
instance_profile = var.iam_emr_instance_profile
}

service_role = var.iam_emr_service_role
autoscaling_role = var.iam_emr_autoscaling_role
service_role = var.iam_emr_service_role
autoscaling_role = var.iam_emr_autoscaling_role
security_configuration = var.security_configuration

master_instance_group {
instance_type = var.master_instance_type
Expand Down
6 changes: 6 additions & 0 deletions aws_datalake/modules/emr/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ variable "slave_security_group" {
default = ""
}

variable "security_configuration" {
description = "Name of the EMR security configuration for options like Encryption, IMDS, etc."
type = string
default = ""
}

variable "tags" {
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)."
type = map(string)
Expand Down