Skip to content

Commit

Permalink
PLT-0 - Add output for additional zones
Browse files Browse the repository at this point in the history
  • Loading branch information
Engerim committed Jan 2, 2024
1 parent 1ed00ed commit 23811de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ output "cloudfront_alias" {
description = "Alias hostname of CloudFront distribution"
value = try(aws_route53_record.this[0].fqdn, null)
}

output "cloudfront_alias_additional_zones" {
description = "Alias hostname of CloudFront distribution for additional zones"
value = {for k,v in aws_route53_record.additional_records : k => v.fqdn }
}

0 comments on commit 23811de

Please sign in to comment.