Skip to content

Commit 93d3212

Browse files
authored
Merge pull request #12 from hopservices/reduce_target_group_name_length
fix: reduce target group name len to avoid issues with resourcing naming limits
2 parents 9d5159c + 621f9a0 commit 93d3212

File tree

1 file changed

+2
-2
lines changed
  • aws/terraform/modules/metaflow/modules/metadata-service

1 file changed

+2
-2
lines changed

aws/terraform/modules/metaflow/modules/metadata-service/ec2.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ resource "aws_lb" "this" {
5454
}
5555

5656
resource "aws_lb_target_group" "this" {
57-
name = "${var.resource_prefix}trgtgrp${var.resource_suffix}"
57+
name = "${var.resource_prefix}mdtg${var.resource_suffix}"
5858
port = 8080
5959
protocol = "TCP"
6060
target_type = "ip"
@@ -71,7 +71,7 @@ resource "aws_lb_target_group" "this" {
7171
}
7272

7373
resource "aws_lb_target_group" "db_migrate" {
74-
name = "${var.resource_prefix}dbtrgtgrp${var.resource_suffix}"
74+
name = "${var.resource_prefix}dbtg${var.resource_suffix}"
7575
port = 8082
7676
protocol = "TCP"
7777
target_type = "ip"

0 commit comments

Comments
 (0)