Skip to content

Commit d805e85

Browse files
author
Steven Nemetz
committed
Cleanup old code
1 parent 21842ce commit d805e85

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

outputs.tf

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,22 @@
33
//
44
output "arn" {
55
description = "ARN of the LB itself. Useful for debug output, for example when attaching a WAF."
6-
7-
#value = "${element(concat(aws_lb.this.*.arn, list("")), 0)}"
8-
value = "${element(concat(aws_lb.application.*.arn, aws_lb.network.*.arn, list("")), 0)}"
6+
value = "${element(concat(aws_lb.application.*.arn, aws_lb.network.*.arn, list("")), 0)}"
97
}
108

119
output "dns_name" {
1210
description = "The DNS name of the LB presumably to be used with a friendlier CNAME."
13-
14-
#value = "${element(concat(aws_lb.this.*.dns_name, list("")), 0)}"
15-
value = "${element(concat(aws_lb.application.*.dns_name, aws_lb.network.*.dns_name, list("")), 0)}"
11+
value = "${element(concat(aws_lb.application.*.dns_name, aws_lb.network.*.dns_name, list("")), 0)}"
1612
}
1713

1814
output "id" {
1915
description = "The ID of the LB we created."
20-
21-
#value = "${element(concat(aws_lb.this.*.id, list("")), 0)}"
22-
value = "${element(concat(aws_lb.application.*.id, aws_lb.network.*.id, list("")), 0)}"
16+
value = "${element(concat(aws_lb.application.*.id, aws_lb.network.*.id, list("")), 0)}"
2317
}
2418

2519
output "zone_id" {
2620
description = "The zone_id of the LB to assist with creating DNS records."
27-
28-
#value = "${element(concat(aws_lb.this.*.zone_id, list("")), 0)}"
29-
value = "${element(concat(aws_lb.application.*.zone_id, aws_lb.network.*.zone_id, list("")), 0)}"
21+
value = "${element(concat(aws_lb.application.*.zone_id, aws_lb.network.*.zone_id, list("")), 0)}"
3022
}
3123

3224
# arn_suffix

0 commit comments

Comments
 (0)