https://pulumi.com logo
#golang
Title
# golang
t

thousands-telephone-86052

02/22/2022, 10:31 PM
Hi @bored-table-20691 thanks for the response! Here is what I mean. This is a "pure" Go stack, starting with no pulumi plugins installed. When I
up
the stack, it downloads the plugins it needs.. which.. are in typescript, not Go / native:
Copy code
➜  eks_go git:(feature/eks_go_aws) ✗ pulumi plugin ls
NAME  KIND  VERSION  SIZE  INSTALLED  LAST USED

TOTAL plugin cache size: 0 B
➜  eks_go git:(feature/eks_go_aws) ✗ ls ~/.pulumi/plugins/
➜  eks_go git:(feature/eks_go_aws) ✗
➜  eks_go git:(feature/eks_go_aws) ✗ ls
eksCluster.go  go.mod  go.sum  main.go  nodeGroups.go  Pulumi.eks-test.yaml  Pulumi.yaml
➜  eks_go git:(feature/eks_go_aws) ✗ pulumi up
Please choose a stack, or create a new one: eks-test
Previewing update (eks-test):
[resource plugin kubernetes-3.16.0] installing
Downloading plugin: 0 B / 30.27 MiB [----------------------------------]   0.00%[resource plugin eks-0.37.1] installing
Downloading plugin: 656.37 KiB / 656.37 KiB [=======================] 100.00% 0s
[resource plugin aws-4.37.4] installing
Downloading plugin: 30.27 MiB / 30.27 MiB [=========================] 100.00% 1s
Downloading plugin: 96.60 MiB / 96.60 MiB [=========================] 100.00% 2s
     Type                     Name              Plan       Info
 +   pulumi:pulumi:Stack      eks_go-eks-test   create     3 errors; 9 messages
 +   └─ pulumi:providers:aws  test_east1  create

Diagnostics:
  pulumi:pulumi:Stack (eks_go-eks-test):
    error: Error: invocation of pulumi:pulumi:getResource returned an error: unknown resource urn:pulumi:eks-test::eks_go::aws:iam/role:Role::eksEc2Role
        at Object.callback (/home/vikas/.pulumi/plugins/resource-eks-v0.37.1/node_modules/@pulumi/runtime/resource.ts:139:40)
        at Object.onReceiveStatus (/home/vikas/.pulumi/plugins/resource-eks-v0.37.1/node_modules/@grpc/grpc-js/src/client.ts:338:26)
        at Object.onReceiveStatus (/home/vikas/.pulumi/plugins/resource-eks-v0.37.1/node_modules/@grpc/grpc-js/src/client-interceptors.ts:426:34)
        at Object.onReceiveStatus (/home/vikas/.pulumi/plugins/resource-eks-v0.37.1/node_modules/@grpc/grpc-js/src/client-interceptors.ts:389:48)
        at /home/vikas/.pulumi/plugins/resource-eks-v0.37.1/node_modules/@grpc/grpc-js/src/call-stream.ts:276:24
        at processTicksAndRejections (node:internal/process/task_queues:78:11)
3 Views