Skip to content

Commit

Permalink
feat: Ensure all supported resources are tagged under `tag_specificat…
Browse files Browse the repository at this point in the history
…ions` on launch templates (#2352)

Resolves undefined
  • Loading branch information
bryantbiggs authored Dec 18, 2022
1 parent ece8247 commit 0751a0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/eks-managed-node-group/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ resource "aws_launch_template" "this" {
ram_disk_id = var.ram_disk_id

dynamic "tag_specifications" {
for_each = toset(["instance", "volume", "network-interface"])
for_each = toset(["instance", "volume", "elastic-gpu", "network-interface", "spot-instances-request"])

content {
resource_type = tag_specifications.key
Expand Down
2 changes: 1 addition & 1 deletion modules/self-managed-node-group/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ resource "aws_launch_template" "this" {
ram_disk_id = var.ram_disk_id

dynamic "tag_specifications" {
for_each = toset(["instance", "volume", "network-interface"])
for_each = toset(["instance", "volume", "elastic-gpu", "network-interface", "spot-instances-request"])

content {
resource_type = tag_specifications.key
Expand Down

0 comments on commit 0751a0c

Please sign in to comment.