Skip to content

Commit

Permalink
[tf-module:dns-records] Add output for FQDNs (#315)
Browse files Browse the repository at this point in the history
Since the FQDNs are assembled within the module, it makes sense to
expose those, so that the same logic is not getting re-implemented.
  • Loading branch information
lucendio authored Jul 23, 2020
1 parent c80479e commit 4fd424d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions terraform/modules/aws-dns-records/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
output "fqdns" {
value = concat(
[for record in aws_route53_record.a : record.fqdn],
[for record in aws_route53_record.cname : record.fqdn]
)
}

0 comments on commit 4fd424d

Please sign in to comment.