Skip to content

Commit

Permalink
add tagging to eks-nodegroup for karpenter so it can create nodes wit…
Browse files Browse the repository at this point in the history
…h scp
  • Loading branch information
morga471 committed Mar 26, 2026
1 parent f42f222 commit 3276b9b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ module "cluster" {
labels = {
"karpenter.sh/controller" = "true"
}
tag_specifications = ["instance", "volume"]
tags = merge(
module.tags.tags,
{
"kubernetes.io/cluster/${var.cluster_name}" = "owned"
}
)
}
}
}
Expand Down

0 comments on commit 3276b9b

Please sign in to comment.