Hello! I'm trying to spin up a new EKS 1.27 cluste...
# kubernetes
m
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
m
@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
Awesome @mammoth-caravan-43791!