Skip to content

Commit 4f663b7

Browse files
Merge pull request #17 from depot/fix-tags
2 parents 0c3a02c + 1ecdda4 commit 4f663b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: main.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ resource "aws_launch_template" "x86" {
176176

177177
tag_specifications {
178178
resource_type = "instance"
179-
tags = var.tags
179+
tags = merge(var.tags, { "depot-connection" = var.connection-id })
180180
}
181181

182182
tag_specifications {
@@ -217,7 +217,7 @@ resource "aws_launch_template" "arm" {
217217

218218
tag_specifications {
219219
resource_type = "instance"
220-
tags = var.tags
220+
tags = merge(var.tags, { "depot-connection" = var.connection-id })
221221
}
222222

223223
tag_specifications {

0 commit comments

Comments
 (0)