Skip to content

Commit

Permalink
Cleanup old code
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Nemetz committed Mar 7, 2018
1 parent 21842ce commit d805e85
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,22 @@
//
output "arn" {
description = "ARN of the LB itself. Useful for debug output, for example when attaching a WAF."

#value = "${element(concat(aws_lb.this.*.arn, list("")), 0)}"
value = "${element(concat(aws_lb.application.*.arn, aws_lb.network.*.arn, list("")), 0)}"
value = "${element(concat(aws_lb.application.*.arn, aws_lb.network.*.arn, list("")), 0)}"
}

output "dns_name" {
description = "The DNS name of the LB presumably to be used with a friendlier CNAME."

#value = "${element(concat(aws_lb.this.*.dns_name, list("")), 0)}"
value = "${element(concat(aws_lb.application.*.dns_name, aws_lb.network.*.dns_name, list("")), 0)}"
value = "${element(concat(aws_lb.application.*.dns_name, aws_lb.network.*.dns_name, list("")), 0)}"
}

output "id" {
description = "The ID of the LB we created."

#value = "${element(concat(aws_lb.this.*.id, list("")), 0)}"
value = "${element(concat(aws_lb.application.*.id, aws_lb.network.*.id, list("")), 0)}"
value = "${element(concat(aws_lb.application.*.id, aws_lb.network.*.id, list("")), 0)}"
}

output "zone_id" {
description = "The zone_id of the LB to assist with creating DNS records."

#value = "${element(concat(aws_lb.this.*.zone_id, list("")), 0)}"
value = "${element(concat(aws_lb.application.*.zone_id, aws_lb.network.*.zone_id, list("")), 0)}"
value = "${element(concat(aws_lb.application.*.zone_id, aws_lb.network.*.zone_id, list("")), 0)}"
}

# arn_suffix
Expand Down

0 comments on commit d805e85

Please sign in to comment.