Skip to content

Commit

Permalink
Fix instance tags
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie committed Aug 21, 2023
1 parent 04f173a commit dcf3519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,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 {
Expand Down Expand Up @@ -209,7 +209,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 {
Expand Down

0 comments on commit dcf3519

Please sign in to comment.