diff --git a/modules/eks-managed-node-group/main.tf b/modules/eks-managed-node-group/main.tf index b844533abe..c59d553f19 100644 --- a/modules/eks-managed-node-group/main.tf +++ b/modules/eks-managed-node-group/main.tf @@ -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 diff --git a/modules/self-managed-node-group/main.tf b/modules/self-managed-node-group/main.tf index 7632d24609..10752fb769 100644 --- a/modules/self-managed-node-group/main.tf +++ b/modules/self-managed-node-group/main.tf @@ -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