Skip to content

Commit

Permalink
Add name to lb target group to improve Console readability (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
larstobi authored Apr 13, 2021
1 parent c962e1e commit ab479e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ab479e2

Please sign in to comment.