<p>I get the following error message whenever I run a pulumi command. I verified and my kubeconfig file is <code>apiVersion: v1</code> I updated <code>client.authentication.k8s.io/v1alpha1</code> to <code>client.authentication.k8s.io/v1beta1</code> and still have the issue, what could be the reason for this error message?</p>
<pre><code>Kubeconfig user entry is using deprecated API version client.authentication.k8s.io/v1alpha1. Run 'aws eks update-kubeconfig' to update.
</code></pre>

Kaizendae
<p>The bug report for this issue is <a href="https://github.com/pulumi/pulumi-eks/issues/599" rel="noreferrer">here</a></p>
<p>The underlying cause is that the AWS cli shipped a breaking change in a minor version release. You can see this <a href="https://github.com/aws/aws-cli/issues/6920" rel="noreferrer">here</a></p>
<p>I'm assuming here you're using the <code>pulumi-eks</code> package in order to provision an EKS cluster greater than <code>v1.22</code>. The EKS package uses a resource provider to configure some EKS resources like the <code>aws-auth</code> config map, and this isn't the same transient kubeconfig you're referring to in <code>~/.kube/config</code></p>
<p>In order to fix this, you need to do the following:</p>
<ul>
<li>Ensure your <code>aws-cli</code> version is greater than <code>1.24.0</code> or <code>2.7.0</code></li>
<li>Ensure you've updated your <code>pulumi-eks</code> package in your language SDK package manager to greater than <code>0.40.0</code>. This will mean also updated the provider in your existing stack.</li>
<li>Ensure you have the version of <code>kubectl</code> installed locally that matches your cluster version that has been provisioned</li>
</ul>
