feat: Add launch_template_tags variable for additional launch template tags (#1835)

This commit is contained in:
kahirokunn
2022-02-03 23:45:50 +09:00
committed by GitHub
parent d81ff0ddb1
commit 9186defcf6
7 changed files with 18 additions and 2 deletions

View File

@@ -238,7 +238,7 @@ resource "aws_launch_template" "this" {
for_each = toset(["instance", "volume", "network-interface"])
content {
resource_type = tag_specifications.key
tags = merge(var.tags, { Name = var.name })
tags = merge(var.tags, { Name = var.name }, var.launch_template_tags)
}
}