File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -101,12 +101,20 @@ module "eks" {
101
101
}
102
102
}
103
103
104
- tags = merge (local. tags , {
104
+ # cluster_tags = merge(local.tags, {
105
+ # NOTE - only use this option if you are using "attach_cluster_primary_security_group"
106
+ # and you know what you're doing. In this case, you can remove the "node_security_group_tags" below.
107
+ # "karpenter.sh/discovery" = local.name
108
+ # })
109
+
110
+ node_security_group_tags = merge (local. tags , {
105
111
# NOTE - if creating multiple security groups with this module, only tag the
106
112
# security group that Karpenter should utilize with the following tag
107
113
# (i.e. - at most, only one security group should have this tag in your account)
108
114
" karpenter.sh/discovery" = local.name
109
115
})
116
+
117
+ tags = local. tags
110
118
}
111
119
112
120
# ###############################################################################
You can’t perform that action at this time.
0 commit comments