Skip to content

Commit

Permalink
fix(aws): add cloudfront outputs
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic Leger <[email protected]>
  • Loading branch information
fredleger committed Sep 24, 2024
1 parent 7bf7a81 commit 2cc839f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aws/cloudfront-distribution/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,8 @@ No modules.

## Outputs

No outputs.
| Name | Description |
|------|-------------|
| <a name="output_arn"></a> [arn](#output\_arn) | ARN of the cloudfront distribution |
| <a name="output_domain_name"></a> [domain\_name](#output\_domain\_name) | Domain name of the cloudfront distribution |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
9 changes: 9 additions & 0 deletions aws/cloudfront-distribution/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
output "arn" {
description = "ARN of the cloudfront distribution"
value = aws_cloudfront_distribution.main.arn
}

output "domain_name" {
description = "Domain name of the cloudfront distribution"
value = aws_cloudfront_distribution.main.domain_name
}

0 comments on commit 2cc839f

Please sign in to comment.