title: The service role arn:aws:iam::20011470201:role/deploy doesn't have permission to perform the following operation: autoscaling:DescribeLifecycleHooks
body: <p>Has anyone come across the below error before? </p>
  
  <blockquote>
    <p>The service role arn:aws:iam::20011470201:role/deploy doesn't have permission to perform the following operation: autoscaling:DescribeLifecycleHooks</p>
  </blockquote>
  
  <p>I have code-deploy set-up between by bit-bucket account and my Amazon AWS instance. <br>
  I am able to deploy to the test server everyday without issue.<br>
  But when i try to add the instance of our production server to the list of instances, i get the above error</p>
  
  <p><br>
  <strong>Note:</strong>  I have added this instance and successfully deployed the code in the past , i'm not sure why i get this error now.</p>
  
  <p>Any directions/hints on how to solve this would be appreciated.</p>