https://pulumi.com logo
#kubernetes
Title
# kubernetes
m

mammoth-caravan-43791

07/06/2023, 1:25 PM
Hello! I'm trying to spin up a new EKS 1.27 cluster with Pulumi (latest version, latest Node.js packages), but somehow running into
v1alpha1
error with
aws eks get-token
whereas when I manually run the get-token command on the CLI it works fine with `v1beta1`:
Copy code
users          : [
            [0]: {
                name: "aws"
                user: {
                    exec: {
                        apiVersion: "<http://client.authentication.k8s.io/v1alpha1|client.authentication.k8s.io/v1alpha1>"
                        args      : [
                            [0]: "eks"
                            [1]: "get-token"
                            [2]: "--cluster-name"
                            [3]: "qa-blue-eksCluster-fcf82bd"
                        ]
                        command   : "aws"
                    }
                }
            }
        ]
It would be great if anyone can share a pointer on getting past the
v1alpha1
error.
m

many-telephone-49025

07/06/2023, 2:26 PM
m

mammoth-caravan-43791

07/06/2023, 5:38 PM
@many-telephone-49025 Thanks! I used
1.0.2
with some code changes (because it was on a much older version) and it worked, using
v1beta1
.
m

many-telephone-49025

07/06/2023, 6:18 PM
Awesome @mammoth-caravan-43791!