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 1e1bbff commit 56a62bfCopy full SHA for 56a62bf
outputs.tf
@@ -1,6 +1,6 @@
1
output "lb_public_dns" {
2
description = "The DNS name of the public load balancer."
3
- value = aws_lb.public[0].dns_name
+ value = try(aws_lb.public[0].dns_name, "")
4
}
5
6
output "lb_private_dns" {
@@ -9,7 +9,7 @@ output "lb_private_dns" {
9
10
11
output "vpn_public_dns" {
12
- value = try(aws_route53_record.public[0].name, aws_lb.public[0].dns_name)
+ value = try(aws_route53_record.public[0].name, aws_lb.public[0].dns_name, [""])
13
description = "public dns for connect vpn server"
14
15
0 commit comments