We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd746fd commit 09804e5Copy full SHA for 09804e5
modules/ui/ec2.tf
@@ -86,7 +86,7 @@ resource "aws_lb" "this" {
86
}
87
88
resource "aws_lb_target_group" "ui_backend" {
89
- name = "${var.resource_prefix}ui-backend${var.resource_suffix}"
+ name = format("%.32s", "${var.resource_prefix}ui-backend${var.resource_suffix}")
90
port = 8083
91
protocol = "HTTP"
92
target_type = "ip"
@@ -105,7 +105,7 @@ resource "aws_lb_target_group" "ui_backend" {
105
106
107
resource "aws_lb_target_group" "ui_static" {
108
- name = "${var.resource_prefix}ui-static${var.resource_suffix}"
+ name = format("%.32s", "${var.resource_prefix}ui-static${var.resource_suffix}")
109
port = 3000
110
111
0 commit comments