diff --git a/modules/ec2/main.tf b/modules/ec2/main.tf index 17fe90f..fa98476 100644 --- a/modules/ec2/main.tf +++ b/modules/ec2/main.tf @@ -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