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 (terraform-aws-modules#2352)

Resolves undefined
  • Loading branch information
bryantbiggs authored and spr-mweber3 committed Jan 4, 2023
1 parent 8ef74b0 commit 0eaf795
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 @@ -278,7 +278,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 @@ -365,7 +365,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 0eaf795

Please sign in to comment.