Skip to content

Commit

Permalink
Expose Cloudfront Zone for DNS Alias records
Browse files Browse the repository at this point in the history
  • Loading branch information
davedash committed Sep 27, 2017
1 parent 15c41b9 commit e534976
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 @@ -17,3 +17,8 @@ output "cloudfront_distribution_hostname" {
description = "The hostname of the CloudFront Distribution (use for DNS CNAME)."
value = "${aws_cloudfront_distribution.website.domain_name}"
}

output "cloudfront_zone_id" {
description = "The Zone ID of the CloudFront Distribution (use for DNS Alias)."
value = "${aws_cloudfront_distribution.website.hosted_zone_id}"
}

0 comments on commit e534976

Please sign in to comment.