crooked-laptop-67565
04/17/2023, 10:30 PM@pulumi/eks
doesn't seem to have a way to get an existing cluster, and @pulumi/aws
doesn't seem to know about managed node groups?steep-toddler-94095
04/17/2023, 10:34 PMNodeGroup
instead of ManagedNodeGroup
. I don't know what the difference is between them, but NodeGroup
does create an EKS managed node group and i think you'll avoid this issue you're getting if you use it insteadcrooked-laptop-67565
04/17/2023, 10:37 PMTo opt-in to using Managed Node Groups, the raw `aws.eks.NodeGroup` building block is available. However, we’ve enlightened the EKS package with theI think by "enlightened" they just mean "you can do this from thefunction to make it easier and to integrate with cluster provisioning.eks.Cluster.createManagedNodeGroup
@pulumi/eks
package"@pulumi/eks
"steep-toddler-94095
04/17/2023, 10:41 PMNodeGroup
I use is from @pulumi/aws/eks
but ManagedNodeGroup
is from @pulumi/eks
The @pulumi/eks
package is supposed to have a "better" API instead of a 1:1 match of the cloud provider API that @pulumi/aws/eks
has. It's true to some extent, but if you are mix/matching the packages you can run into the issues you just saw here.crooked-laptop-67565
04/17/2023, 10:50 PMaws
and eks
and awsx
and then there's the "native" one...
I will have a go with aws.eks.NodeGroup
, thank you for your help!