-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support specifying tags only for the managed node group #2166
Comments
What is the use case for this? |
Well when adding extra tags like node-termination-handler/managed=true there’s just no sense in them appearing anywhere except in the node group. Ideally only the ASG but AWS doesn’t expose a simple api for that - would be even better if the node group resource returned the arn of the new ASG and we could just tag that. |
This is how that can be solved today until native support is provided https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/examples/eks_managed_node_group/main.tf#L673-L712 |
Thanks @bryantbiggs. A couple notes for anyone else:
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
In the similar vein as #2084 it would be nice if the managed node groups could specify tags that only impacted the
aws_eks_node_group
resource. Currently thetags
option ineks_managed_node_group_defaults
, etc applies to all resources (launch template, security groups, iam roles, node groups) and there is not an option to impact only the node groups. Presumably anode_group_tags
option would suffice.The text was updated successfully, but these errors were encountered: