# ---------------------------------------------------------------------------
# Amazon CloudFront outputs
# ---------------------------------------------------------------------------

output "distribution_domain_name" {
  description = "The domain name corresponding to the distribution."
  value       = try(aws_cloudfront_distribution.this.domain_name, "")
}

output "distribution_hosted_zone_id" {
  description = "The CloudFront Route 53 zone ID that can be used to route an Alias Resource Record Set to."
  value       = try(aws_cloudfront_distribution.this.hosted_zone_id, "")
}
