You must be logged in to view saved presets
Configures an EMR cluster with three master nodes for high availability, including network settings and termination protection.
resource "aws_emr_cluster" "example" {
ec2_attributes {
subnet_id = aws_subnet.example.id
}
master_instance_group {
instance_count = 3
}
release_label = "emr-5.24.1"
termination_protection = true
}
resource "aws_subnet" "example" {
map_public_ip_on_launch = true
}