title: How to detach/remove EBS volumes from AWS EMR using Terraform?
body: <p>Currently in Terraform, ebs_config option is used to specify the size and number of EBS volumes to be attached to a instance group in EMR. When no ebs_config is specified a default of 32GB EBS volume is attached to the core node in addition to the root volume. My case is not to have any EBS volumes attached to the core node. How do I specify that in terraform ?</p>
  
  <p>Currently I use the following code </p>
  
  <pre><code>  name           = "CoreInstanceGroup"
    instance_role  = "CORE"
    instance_type  = "m4.xlarge"
    instance_count = "1"
    ebs_config {
      size = 1
      type = "gp2"
      volumes_per_instance = 1
    }
  </code></pre>
  
  <p>Terraform doesn't allow size and volumes_per_instance to be 0.</p>