sparse-intern-71089
06/13/2022, 10:01 AMdamp-honey-93158
06/13/2022, 11:00 AMfamous-leather-72830
06/13/2022, 11:32 AMError: 'dependsOn' was passed a value that was not a Resource.
) It's not about the downstream users, it's about parts of Pulumi being too reliant on the full resources.damp-honey-93158
06/13/2022, 11:55 AMfamous-leather-72830
06/13/2022, 12:21 PMnew eks.Cluster
Then I have separate projects for the pieces of our stack (things like web servers, api servers, databases, etc) These have their infrastructure defined in separate repositories, using their own Pulumi project (the stack/environment is shared, like dev, qa, staging). These projects will have their own deployments that run on the parent cluster, inside their own namespace. I would like to create a unique AWS Managed Node Group with its own unique configuration for each such namespace. Managed node groups are created via @pulumi/eks
and according to the file linked above, and this https://www.pulumi.com/blog/aws-eks-managed-nodes-fargate/#automatically-managed-node-groups cluster needs to be passed as a property during the managed node group creation.rhythmic-whale-48997
11/09/2022, 1:45 PMfamous-leather-72830
11/09/2022, 7:14 PMcluster.createNodeGroup
I exported VPC (subnets, oidc, etc) info and cluster info from the cluster project, imported them in one of my service projects, and then replicated what createNodeGroup
internally does using all this data. (you can go to their GitHub page and see what code they use, but it's just another wrapper around the base eks tools)rhythmic-whale-48997
11/10/2022, 7:37 AMcreateNodeGroup
function? 😄 You can leave the sensitive parts out.
I was also considering to do this, but didn't have the time, and it looks little bit complicated, but I will try that next