Before I open an issue on this... Trying out the ...
# general
e
Before I open an issue on this... Trying out the eks.Cluster and there's a missing dependency on aws-iam-authenticator:
Copy code
$ pulumi up
Previewing update (poc):

     Type                                                              Name                                                           Plan
     pulumi:pulumi:Stack                                               eks-cluster-poc
     ├─ eks:index:Cluster                                              online-sandbox-pulumi-poc-eks-cluster
 +   │  ├─ kubernetes:<http://storage.k8s.io:StorageClass|storage.k8s.io:StorageClass>                      online-sandbox-pulumi-poc-eks-cluster-gp2                      create
 +   │  ├─ aws:ec2:SecurityGroupRule                                   online-sandbox-pulumi-poc-eks-cluster-eksClusterIngressRule    create
 ...

     Type                                          Name                                                         Status                  Info
     pulumi:pulumi:Stack                           eks-cluster-poc
     ├─ eks:index:Cluster                          online-sandbox-pulumi-poc-eks-cluster
 +   │  ├─ kubernetes:<http://storage.k8s.io:StorageClass|storage.k8s.io:StorageClass>  online-sandbox-pulumi-poc-eks-cluster-gp2                    **creating failed**     1 error
 +   │  └─ aws:ec2:SecurityGroupRule               online-sandbox-pulumi-poc-eks-cluster-eksClusterIngressRule  created
 +   └─ aws:ec2:SecurityGroupRule                  ssh-ingress                                                  created

Diagnostics:
  kubernetes:<http://storage.k8s.io:StorageClass|storage.k8s.io:StorageClass> (online-sandbox-pulumi-poc-eks-cluster-gp2):
    error: Plan apply failed: unable to fetch resource description for <http://storage.k8s.io/v1|storage.k8s.io/v1>: Get <https://C8A29503A514BB2E580F0CFA2959B7EF.sk1.us-west-2.eks.amazonaws.com/apis/storage.k8s.io/v1>: getting token: exec: exec: "aws-iam-authenticator": executable file not found in $PATH

Resources:
    2 changes
    + 2 created
    19 unchanged

Duration: 3.48585638s

Permalink: <https://app.pulumi.com/eshamay/poc/updates/7>
error: update failed
Did I miss that in the docs?
m
You did not. We have this in some of our EKS docs (https://github.com/pulumi/examples/tree/master/aws-ts-eks) but not the correct ones (i.e. the docs in the source repo).
We have an issue open on providing a better error message for this case, but we do not have one open for improving the docs. I will open one and get to it today.
Thanks for pointing this out!
(in fact, we do already have an issue open for the docs: https://github.com/pulumi/eks/issues/2)
e
👍
c
We do have an issue open, people are running into this consistently. @white-balloon-205 @microscopic-florist-22719 thoughts on prioritizing this for this/next sprint?
m
I will be doing this today.
c
excellent