feat: Ensure all supported resources are tagged under tag_specifications on launch templates (#2352)

Resolves undefined
This commit is contained in:
Bryant Biggs
2022-12-18 12:29:11 -05:00
committed by GitHub
parent ece82472a6
commit 0751a0ca04
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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