salmon-ghost-86211
10/22/2020, 4:25 PMimport * as eks from "@pulumi/eks";
const cluster = new eks.Cluster(...)
const clusterNodeGroup1 = cluster.createNodeGroup(...)
I want to adjust enabledMetrics
and suspendedProcesses
on the ASG, but I'm not sure how to access it. I think I can get the name from clusterNodeGroup1.apply(ng => ng.autoScalingGroupName)
. I can also use the autoscaling getGroup function.
How do I get an existing object and then update properties?gentle-diamond-70147
10/22/2020, 7:46 PMsalmon-ghost-86211
10/22/2020, 8:26 PMcreateNodeGroup
function above creates an Auto Scaling Group to manage the new nodes. One of the properties is autoScalingGroupName
. I should be able to access the ASG that just got created and modify some of its properties. I'm not sure how to do that.