Skip to content

Commit 42e4813

Browse files
committed
Fixing formatting issues
1 parent f834505 commit 42e4813

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ resource "aws_lb_target_group" "lb_http_tgs" {
143143
}
144144
name = "${var.name_prefix}-http-${each.value.target_group_port}"
145145
port = each.value.target_group_port
146-
protocol = lookup(each.value, "target_group_protocol", "") == "" ? "HTTP" : each.value.target_group_protocol
146+
protocol = lookup(each.value, "target_group_protocol", "") == "" ? "HTTP" : each.value.target_group_protocol
147147
vpc_id = var.vpc_id
148148
deregistration_delay = var.deregistration_delay
149149
slow_start = var.slow_start
@@ -160,7 +160,7 @@ resource "aws_lb_target_group" "lb_http_tgs" {
160160
enabled = var.target_group_health_check_enabled
161161
interval = var.target_group_health_check_interval
162162
path = var.target_group_health_check_path
163-
protocol = lookup(each.value, "target_group_protocol", "") == "" ? "HTTP" : each.value.target_group_protocol
163+
protocol = lookup(each.value, "target_group_protocol", "") == "" ? "HTTP" : each.value.target_group_protocol
164164
timeout = var.target_group_health_check_timeout
165165
healthy_threshold = var.target_group_health_check_healthy_threshold
166166
unhealthy_threshold = var.target_group_health_check_unhealthy_threshold
@@ -186,7 +186,7 @@ resource "aws_lb_target_group" "lb_https_tgs" {
186186
}
187187
name = "${var.name_prefix}-https-${each.value.target_group_port}"
188188
port = each.value.target_group_port
189-
protocol = lookup(each.value, "target_group_protocol", "") == "" ? "HTTPS" : each.value.target_group_protocol
189+
protocol = lookup(each.value, "target_group_protocol", "") == "" ? "HTTPS" : each.value.target_group_protocol
190190
vpc_id = var.vpc_id
191191
deregistration_delay = var.deregistration_delay
192192
slow_start = var.slow_start
@@ -203,7 +203,7 @@ resource "aws_lb_target_group" "lb_https_tgs" {
203203
enabled = var.target_group_health_check_enabled
204204
interval = var.target_group_health_check_interval
205205
path = var.target_group_health_check_path
206-
protocol = lookup(each.value, "target_group_protocol", "") == "" ? "HTTPS" : each.value.target_group_protocol
206+
protocol = lookup(each.value, "target_group_protocol", "") == "" ? "HTTPS" : each.value.target_group_protocol
207207
timeout = var.target_group_health_check_timeout
208208
healthy_threshold = var.target_group_health_check_healthy_threshold
209209
unhealthy_threshold = var.target_group_health_check_unhealthy_threshold

0 commit comments

Comments
 (0)