https://pulumi.com logo
Title
b

brave-lizard-56518

05/01/2022, 2:03 PM
I’m using Pulumi Automation API (written in Golang) to provision my EKS and its Managed Nodegroups, but the EC2s that it creates are not named. Is there a way to do this from within the eks.NewNodeGroup() function, or do I have to use the autoscaling package, or perhaps aws-sdk-go, to set the tag/name, in a separate step?
e

echoing-dinner-19531

05/01/2022, 7:11 PM
I think your supposed to set a "name" tag to do this.
b

brave-lizard-56518

05/01/2022, 7:15 PM
I’ve already set a “Name” tag, but it only gets applied on the managed nodegroup resource, but not on the underlying ASG.
e

echoing-dinner-19531

05/01/2022, 7:45 PM
Ah yeh that seems to be a limitation of eks. https://docs.aws.amazon.com/eks/latest/userguide/eks-using-tags.html Looks like you could use the LaunchTemplate option and point it a a launch template that sets TagSepcifications
b

brave-lizard-56518

05/01/2022, 8:00 PM
I will explore that then, @echoing-dinner-19531. Thanks!