title: Terminated with errors - Service role My-EMR-Role has insufficient EC2 permissions
body: <p>I'm using My-EMR-Role copying and pasting the policy posted in this AWS Guide <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-iam-role.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-iam-role.html</a></p>
  <p>When using this configuration:</p>
  <pre><code>EMR role: My-EMR-Role
  EC2 instance profile: EMR_EC2_DefaultRole
  </code></pre>
  <p>seems to be working.</p>
  <p>But when for example I use:</p>
  <pre><code>EMR role: My-EMR-Role 
  EC2 instance profile: My_EMR_EC2_DefaultRole
  </code></pre>
  <p>where My_EMR_EC2_DefaultRole is using the same policy instance of EMR_EC2_DefaultRole the cluster fails with error message:</p>
  <pre><code>Terminated with errors - Service role Test-EMR has insufficient EC2 permissions
  </code></pre>
  <p>which is weird as role My-EMR-Role was working when paired with EMR_EC2_DefaultRole - again, both EMR_EC2_DefaultRole and My_EMR_EC2_DefaultRole are referring to the same policy instance <code>AmazonElasticMapReduceforEC2Role</code> provided by AWS.</p>
  <p>How come receiving this error when using exactly the same policies?</p>