title: Attach EBS Volume to Master node of an EMR Cluster
body: <p>We have a recent requirement of deploying an EMR cluster with the master node attached with an EBS volume (Say 250G).
  I have checked the documentation of terraform and got the code for below resources: </p>
  
  <ul>
  <li>EMR cluster </li>
  <li>EBS volume  </li>
  <li>Attaching an EBS volume.</li>
  </ul>
  
  <p>How can we achieve all three in single deployment ?
  The confusion came when I found that we need the instance id of the master node (any EC2 instance ) basically to attach an EBS volume to it and I am not sure of any way to find the instance id of a node which you are trying to deploy at the same time.</p>
  
  <p>Can some one please help on this, as this will be really useful for us.</p>
  
  <p>Thanks in advance.</p>