Skip to content

Commit 94af7d9

Browse files
pingwinactions-botnitrocode
authored
add output value to expose internal logs module in so that the logs (#80)
* add output value to expose internal logs module in so that the logs output can be uesd in parent terraform manifests * ran make init/readme * Updated README.md Co-authored-by: actions-bot <[email protected]> Co-authored-by: nitro <[email protected]>
1 parent 1e134a1 commit 94af7d9

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ Available targets:
220220
| cf\_hosted\_zone\_id | CloudFront Route 53 zone ID |
221221
| cf\_id | ID of AWS CloudFront distribution |
222222
| cf\_status | Current status of the distribution |
223+
| logs | Logs resource |
223224
| s3\_bucket | Name of S3 bucket |
224225
| s3\_bucket\_domain\_name | Domain of S3 bucket |
225226

docs/terraform.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
| cf\_hosted\_zone\_id | CloudFront Route 53 zone ID |
9595
| cf\_id | ID of AWS CloudFront distribution |
9696
| cf\_status | Current status of the distribution |
97+
| logs | Logs resource |
9798
| s3\_bucket | Name of S3 bucket |
9899
| s3\_bucket\_domain\_name | Domain of S3 bucket |
99100

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ output "s3_bucket_domain_name" {
3838
description = "Domain of S3 bucket"
3939
}
4040

41+
output "logs" {
42+
value = module.logs
43+
description = "Logs resource"
44+
}
45+
4146
output "aliases" {
4247
value = var.aliases
4348
description = "Aliases of the CloudFront distibution"

0 commit comments

Comments
 (0)