feat: Allow configuring which tags are passed on launch template tag specifications (#2360)

Resolves undefined
This commit is contained in:
Bryant Biggs
2022-12-19 13:50:32 -05:00
committed by GitHub
parent 046c688be2
commit 094ed1d5e4
7 changed files with 18 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", "elastic-gpu", "network-interface", "spot-instances-request"])
for_each = toset(var.tag_specifications)
content {
resource_type = tag_specifications.key