Skip to content

Commit

Permalink
Added TF outputs for CF
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrom-zoi committed Aug 27, 2024
1 parent 5577fc4 commit bc2adac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.1
ENHANCEMENT:
* Add outputs for Terraform [#14](https://github.com/zoitech/terraform-aws-cloudfront/issues/14)

## 2.0.0
ENHANCEMENT:
* Upgrade to terraform 0.13 [#6](https://github.com/zoitech/terraform-aws-cloudfront/issues/6)
Expand Down
7 changes: 7 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ output "hosted_zone_id" {
value = aws_cloudfront_distribution.distribution.hosted_zone_id
}

output "cf_arn" {
value = aws_cloudfront_distribution.distribution.arn
}

output "cf_id" {
value = aws_cloudfront_distribution.distribution.id
}

0 comments on commit bc2adac

Please sign in to comment.