Skip to content

Commit 0ea9896

Browse files
author
lycbrian
committed
chore: update target group name
1 parent b4c8075 commit 0ea9896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ resource "aws_lb_target_group" "this" {
154154
resource "aws_lb_target_group" "green" {
155155
count = local.is_create_target_group && var.is_enable_blue_green_deployment ? 1 : 0
156156

157-
name = format("%s-green-tg", substr(local.container_target_group_object.name, 0, min(29, length(local.container_target_group_object.name))))
157+
name = format("%s-gn-tg", substr(local.container_target_group_object.name, 0, min(32, length(local.container_target_group_object.name))))
158158

159159
port = lookup(local.container_target_group_object, "port_mappings", null)[0].container_port
160160
protocol = lookup(local.container_target_group_object, "port_mappings", null)[0].container_port == 443 ? "HTTPS" : "HTTP"

0 commit comments

Comments
 (0)