From 74e8b81eab5fa6c35dbd232c3036f6d33f6a89ef Mon Sep 17 00:00:00 2001 From: bdeshi Date: Fri, 17 May 2024 09:13:12 +0600 Subject: [PATCH] iac: print cloudfront domain --- iac/terraform.outputs.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/iac/terraform.outputs.tf b/iac/terraform.outputs.tf index b8b6ba1..77a91b1 100644 --- a/iac/terraform.outputs.tf +++ b/iac/terraform.outputs.tf @@ -13,6 +13,11 @@ output "cloudfront_distribution" { description = "ID of the created CloudFront distribution." } +output "cloudfront_domain" { + value = aws_cloudfront_distribution.created.domain_name + description = "domain name of the created CloudFront distribution." +} + output "acm_certificate_arn" { value = aws_acm_certificate.created.arn description = "ARN of the created ACM certificate."