Skip to content

Commit

Permalink
Merge pull request #18 from chrisyoungbrighte/patch-1
Browse files Browse the repository at this point in the history
feat: add cloudfront_distribution_id to outputs
  • Loading branch information
LuizSutil authored Jan 31, 2024
2 parents d37358e + 6378744 commit e790f21
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 @@ -2,3 +2,8 @@ output "cf_domain_name" {
description = "CloudFront Domain Name"
value = var.module_enabled ? aws_cloudfront_distribution.default[0].domain_name : null
}

output "cloudfront_distribution_id" {
description = "CloudFront Distribution ID"
value = var.module_enabled ? aws_cloudfront_distribution.default[0].id : null
}

0 comments on commit e790f21

Please sign in to comment.