Hey there, i’m trying to restructure the parent-ch...
# aws
d
Hey there, i’m trying to restructure the parent-child relation of an EKS NodeGroup created using the following code:
Copy code
eks.createManagedNodeGroup(
      name,
      {
        capacityType: 'SPOT',
        cluster,
        nodeGroupName: this.clusterName,
        nodeRole: this.role,
        subnetIds: this.args.vpc.publicSubnetIds,
        ...managedNodeGroupOpts,
      },
      this,
    );
However, this function does not take any pulumi.ComponentResourceOptions parameter, so I can’t do it, has anyone have an idea on how I should proceed ? I just want to pass the following object to pulumi:
Copy code
{
        aliases: [`urn:pulumi:...$aws:eks/nodeGroup:NodeGroup::${name}`],
        parent: this,
      },