diff --git a/main.tf b/main.tf index 3c6cfac..0817bf6 100644 --- a/main.tf +++ b/main.tf @@ -176,7 +176,7 @@ resource "aws_launch_template" "x86" { tag_specifications { resource_type = "instance" - tags = var.tags + tags = merge(var.tags, { "depot-connection" = var.connection-id }) } tag_specifications { @@ -217,7 +217,7 @@ resource "aws_launch_template" "arm" { tag_specifications { resource_type = "instance" - tags = var.tags + tags = merge(var.tags, { "depot-connection" = var.connection-id }) } tag_specifications {