Skip to content

Commit 952504f

Browse files
Merge pull request #8 from depot/fix-tags
2 parents 2e618aa + 14dfd78 commit 952504f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ resource "aws_launch_template" "x86" {
186186

187187
tag_specifications {
188188
resource_type = "volume"
189-
tags = var.tags
189+
tags = merge(var.tags, { "depot-connection" = var.connection-id })
190190
}
191191
}
192192

@@ -232,7 +232,7 @@ resource "aws_launch_template" "arm" {
232232

233233
tag_specifications {
234234
resource_type = "volume"
235-
tags = var.tags
235+
tags = merge(var.tags, { "depot-connection" = var.connection-id })
236236
}
237237
}
238238

0 commit comments

Comments
 (0)