title: AWS Create EMR using boto3 Autoscaling not working properly
body: <p>I am auto scaling emr using <strong>boto3</strong> and then autoscaling it using <code>EMR_AutoScaling_DefaultRole</code>. Autoscaling not working properly:</p>
  
  <p>Initially it gives a warning as </p>
  
  <blockquote>
    <p>The policy is pending attachment.</p>
  </blockquote>
  
  <p>and at last failing giving error as</p>
  
  <blockquote>
    <p>The Auto Scaling policy for instance group ig-XXXXXXXXXXXX in Amazon EMR cluster j-XXXXXXXXXXXX (test_emr...) could not attach and failed at 2018-12-19 10:03 UTC.</p>
  </blockquote>
  
  <p>What can I do to assign the Autoscaling role?</p>