Skip to content

Commit

Permalink
chore(ec2): add tagging to launch template (#113)
Browse files Browse the repository at this point in the history
Signed-off-by: Orla Dunlop <[email protected]>
  • Loading branch information
odunlop authored Aug 27, 2024
1 parent de6ac47 commit 493ddc4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/ec2/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,16 @@ resource "aws_launch_template" "kong" {
encrypted = true
}
}

tag_specifications {
resource_type = "instance"
tags = var.tags_asg
}

tag_specifications {
resource_type = "volume"
tags = var.tags_asg
}

lifecycle {
create_before_destroy = true
Expand Down

0 comments on commit 493ddc4

Please sign in to comment.