Hi its me again! Somewhat related to my question f...
# typescript
c
Hi its me again! Somewhat related to my question from yesterday: so I was able to import my existing EKS cluster into my stack using
_aws_._eks_._Cluster_
and now I want to create a new node group using the
createNodeGroup()
from
'@pulumi/eks/nodegroup'
(bc there’s a lot of really good stuff in there I don’t want to have to rewrite). When I try to pass my cluster in I get the following error:
Copy code
Type 'Cluster' is not assignable to type 'Cluster | CoreData'.
  Type 'Cluster' is missing the following properties from type 'Cluster': kubeconfig, provider, clusterSecurityGroup, instanceRoles, and 9 more.ts(2322)
nodegroup.d.ts(164, 5): The expected type comes from property 'cluster' which is declared here on type 'NodeGroupOptions'
And at this point I’m not really sure how to proceed 😞 Is there any way to use that function on an eks cluster I imported into my stack? Thanks in advance!