Modifications for emr ec2 instances in aws

Bharath

Mar 6, 2023, 6:43 AM PST

Hello,

I am using terraform to create emr cluster(Terraform Registry) and i am looking for options to modify below for emr cluster ec2 instances. I don’t see there is any option to modify these properties in emr cluster resource creation using terraform. Below are our requirements, can you please assist.

  • We have to enable ebs volume termination to false for emr cluster ec2 instances.

resource “aws_ebs_volume” “example” { skip_destroy = false }

  • Enable monitoring for emr cluster ec2 instances, for example like below we have for standard ec2 instance for emr cluster ec2 instances.

resource “aws_instance” { monitoring = true }

Any help is appreciated.

Thanks
Bharath