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.
2 parents a1a5da6 + be82c91 commit 844e2a8Copy full SHA for 844e2a8
modules/load_balancer/outputs.tf
@@ -3,7 +3,7 @@ output "target_group_arn" {
3
}
4
5
output "load_balancer_ips" {
6
- value = "{${join(",", [for eni in data.aws_network_interface.lb_app : format("%s", eni.association[0].public_ip)])}}"
+ value = jsonencode([for eni in data.aws_network_interface.lb_app : format("%s", eni.association[0].public_ip)])
7
# value = [for eni in data.aws_network_interface.lb_app : format("\"%s\"", eni.association[0].public_ip)]
8
9
0 commit comments