https://pulumi.com logo
#general
Title
# general
o

orange-tailor-85423

06/11/2019, 7:52 PM
Running the above example code and getting failures in EKS:
n

narrow-area-11460

06/11/2019, 7:52 PM
where are you getting an error?
and what is the error?
o

orange-tailor-85423

06/11/2019, 7:53 PM
Hi Nishi! Pasting….
Copy code
Updating (MINDBODY-Platform/casey-robertson):

     Type                                  Name                     Status                  Info
     pulumi:pulumi:Stack                   citadel-casey-robertson  **failed**              1 error; 5 messages
     └─ eks:index:Cluster                  eks-cluster
 +      ├─ pulumi-nodejs:dynamic:Resource  eks-cluster-vpc-cni      **creating failed**     1 error
 +      └─ kubernetes:core:ConfigMap       eks-cluster-nodeAccess   **creating failed**     1 error

Diagnostics:
  pulumi:pulumi:Stack (citadel-casey-robertson):
    unable to recognize "/var/folders/2l/4_fh85r1487b33mfr_3t8cs8_cj9t1/T/tmp-96443E0aTvFl4ta5M.tmp": Unauthorized
    unable to recognize "/var/folders/2l/4_fh85r1487b33mfr_3t8cs8_cj9t1/T/tmp-96443E0aTvFl4ta5M.tmp": Unauthorized
    unable to recognize "/var/folders/2l/4_fh85r1487b33mfr_3t8cs8_cj9t1/T/tmp-96443E0aTvFl4ta5M.tmp": Unauthorized
    unable to recognize "/var/folders/2l/4_fh85r1487b33mfr_3t8cs8_cj9t1/T/tmp-96443E0aTvFl4ta5M.tmp": Unauthorized
    unable to recognize "/var/folders/2l/4_fh85r1487b33mfr_3t8cs8_cj9t1/T/tmp-96443E0aTvFl4ta5M.tmp": Unauthorized

    error: update failed

  kubernetes:core:ConfigMap (eks-cluster-nodeAccess):
    error: Plan apply failed: Unauthorized

  pulumi-nodejs:dynamic:Resource (eks-cluster-vpc-cni):
    error: Plan apply failed: Command failed: kubectl apply -f /var/folders/2l/4_fh85r1487b33mfr_3t8cs8_cj9t1/T/tmp-96443E0aTvFl4ta5M.tmp
    unable to recognize "/var/folders/2l/4_fh85r1487b33mfr_3t8cs8_cj9t1/T/tmp-96443E0aTvFl4ta5M.tmp": Unauthorized
    unable to recognize "/var/folders/2l/4_fh85r1487b33mfr_3t8cs8_cj9t1/T/tmp-96443E0aTvFl4ta5M.tmp": Unauthorized
    unable to recognize "/var/folders/2l/4_fh85r1487b33mfr_3t8cs8_cj9t1/T/tmp-96443E0aTvFl4ta5M.tmp": Unauthorized
    unable to recognize "/var/folders/2l/4_fh85r1487b33mfr_3t8cs8_cj9t1/T/tmp-96443E0aTvFl4ta5M.tmp": Unauthorized
    unable to recognize "/var/folders/2l/4_fh85r1487b33mfr_3t8cs8_cj9t1/T/tmp-96443E0aTvFl4ta5M.tmp": Unauthorized

Resources:
    35 unchanged

Duration: 5s
Copy code
Type                                  Name                     Status                  Info
     pulumi:pulumi:Stack                   citadel-casey-robertson  **failed**              1 error; 5 messages
     └─ eks:index:Cluster                  eks-cluster
 +      ├─ pulumi-nodejs:dynamic:Resource  eks-cluster-vpc-cni      **creating failed**     1 error
 +      └─ kubernetes:core:ConfigMap       eks-cluster-nodeAccess   **creating failed**     1 error
Are those temp folders or something that it’s trying to leverage?
admittedly skipped straight to the code and did not keep adding on code to index.ts as I went.
n

narrow-area-11460

06/11/2019, 7:56 PM
can you copy paste your full
index.js
here?
that should not matter
o

orange-tailor-85423

06/11/2019, 7:56 PM
sure
n

narrow-area-11460

06/11/2019, 7:57 PM
did you use all the roles or are you working just with clusteradmin role mapping?
@orange-tailor-85423 -- rerun as discussed and let me know if it works -- happy to unicast as well!
🙂
2 Views