function is a helper function to make creating the groups easier, we don't expose all the options from the cloudformation stack or the autoscaling group there.
If you want to do this, you'll unfortunately have to manually create the autoscaling group and set it there. You'll need to join the nodes to your EKS cluster using user data, like this:
https://github.com/pulumi/pulumi-eks/blob/b087075c833a0f60243cf3ef064f28c22690e881/nodejs/eks/nodegroup.ts#L454
s
salmon-ghost-86211
10/23/2020, 4:47 PM
@billowy-army-68599 Thanks. Since the
autoScalingGroupName
is exposed as a property of the node group, is it possible use that and a
get
function to get a reference to that object and then modify settings?
b
billowy-army-68599
10/23/2020, 4:48 PM
no, that's not possible unfortunately
s
salmon-ghost-86211
10/23/2020, 4:58 PM
@billowy-army-68599 I appreciate your quick responses.
Can I put in an enhancement request for that? It would be nice to use that function to pass valid ASG properties rather than managing my own ASG.
b
billowy-army-68599
10/23/2020, 5:24 PM
yes, please do, we'll triage it as necessary
s
salmon-ghost-86211
10/23/2020, 5:53 PM
Thank you @billowy-army-68599. I have created Issue 1183.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.