From ab479e29aaa96f27993ba18057fa79706ca1b93e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Tobias=20Skjong-B=C3=B8rsting?= Date: Tue, 13 Apr 2021 21:15:34 +0200 Subject: [PATCH] Add name to lb target group to improve Console readability (#46) --- main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.tf b/main.tf index 164675d..a6d232c 100644 --- a/main.tf +++ b/main.tf @@ -85,6 +85,8 @@ resource "aws_security_group_rule" "egress_service" { # LB Target group # ------------------------------------------------------------------------------ resource "aws_lb_target_group" "task" { + name = "${var.name_prefix}-${var.task_container_port}" + vpc_id = var.vpc_id protocol = var.task_container_protocol port = var.task_container_port