diff --git a/pkg/actions/nodegroup/scale.go b/pkg/actions/nodegroup/scale.go index 3faed6ce486..c958c64f3e8 100644 --- a/pkg/actions/nodegroup/scale.go +++ b/pkg/actions/nodegroup/scale.go @@ -163,6 +163,9 @@ func validateNodeGroupAMI(ctx context.Context, awsProvider api.ClusterProvider, return fmt.Errorf("expected to find exactly one Auto Scaling group for nodegroup; got %d", len(asg.AutoScalingGroups)) } lt := asg.AutoScalingGroups[0].LaunchTemplate + if lt == nil { + lt = asg.AutoScalingGroups[0].MixedInstancesPolicy.LaunchTemplate.LaunchTemplateSpecification + } if lt == nil { logger.Warning("nodegroup with Auto Scaling group %q does not have a launch template", asgName) return nil