cloudposse / terraform-aws-eks-node-group

Terraform module to provision a fully managed AWS EKS Node Group
https://cloudposse.com/accelerate
Apache License 2.0
90 stars 128 forks source link

Output aws_launch_template.default.name #102

Closed bwmetcalf closed 2 years ago

bwmetcalf commented 2 years ago

Describe the Feature

Add aws_launch_template_default.name to outputs.tf.

Expected Behavior

Results in the ability to obtain the launch template name created by this module.

Use Case

If an autoscaling tool like karpenter is used for eks workers, this module should return the launch template name created for the workers in the node group so that it can be passed to karpenter to ensure consistency across nodes.

https://karpenter.sh/docs/aws/provisioning/#launchtemplate

bwmetcalf commented 2 years ago

I will have a PR up for this shortly.