<p>Auto scaler failing with the below error.</p>
<p>Procedure followed for <a href="https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler" rel="nofollow noreferrer">here</a></p>
<pre><code>aws_cloud_provider.go:369] Failed to generate AWS EC2 Instance Types: WebIdentityErr: failed to retrieve credentials

cluster autoscaler failed to generate aws ec2 instance types: unable to load ec2 instance type list
</code></pre>

<p>Add <code>&quot;ec2:DescribeInstanceTypes&quot;</code> permission to your <code>&lt;AmazonEKSClusterAutoscalerPolicy&gt;</code> IAM policy.
Then restart the Autoscaller deployment.</p>
<pre><code>kubectl -n kube-system rollout restart deployment.apps/cluster-autoscaler
</code></pre>
<p>This worked for me.</p>
