Skip to content

Commit bc945b4

Browse files
author
coverek
authoredMar 18, 2022
fix: Added outputs of tags of distribution (#70)
1 parent 0f43029 commit bc945b4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
 

‎README.md

+1
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ No modules.
149149
| <a name="output_cloudfront_distribution_in_progress_validation_batches"></a> [cloudfront\_distribution\_in\_progress\_validation\_batches](#output\_cloudfront\_distribution\_in\_progress\_validation\_batches) | The number of invalidation batches currently in progress. |
150150
| <a name="output_cloudfront_distribution_last_modified_time"></a> [cloudfront\_distribution\_last\_modified\_time](#output\_cloudfront\_distribution\_last\_modified\_time) | The date and time the distribution was last modified. |
151151
| <a name="output_cloudfront_distribution_status"></a> [cloudfront\_distribution\_status](#output\_cloudfront\_distribution\_status) | The current status of the distribution. Deployed if the distribution's information is fully propagated throughout the Amazon CloudFront system. |
152+
| <a name="output_cloudfront_distribution_tags"></a> [cloudfront\_distribution\_tags](#output\_cloudfront\_distribution\_tags) | Tags of the distribution's |
152153
| <a name="output_cloudfront_distribution_trusted_signers"></a> [cloudfront\_distribution\_trusted\_signers](#output\_cloudfront\_distribution\_trusted\_signers) | List of nested attributes for active trusted signers, if the distribution is set up to serve private content with signed URLs |
153154
| <a name="output_cloudfront_monitoring_subscription_id"></a> [cloudfront\_monitoring\_subscription\_id](#output\_cloudfront\_monitoring\_subscription\_id) | The ID of the CloudFront monitoring subscription, which corresponds to the `distribution_id`. |
154155
| <a name="output_cloudfront_origin_access_identities"></a> [cloudfront\_origin\_access\_identities](#output\_cloudfront\_origin\_access\_identities) | The origin access identities created |

‎outputs.tf

+5
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,8 @@ output "cloudfront_monitoring_subscription_id" {
6767
description = " The ID of the CloudFront monitoring subscription, which corresponds to the `distribution_id`."
6868
value = element(concat(aws_cloudfront_monitoring_subscription.this.*.id, [""]), 0)
6969
}
70+
71+
output "cloudfront_distribution_tags" {
72+
description = "Tags of the distribution's"
73+
value = element(concat(aws_cloudfront_distribution.this.*.tags_all, [""]), 0)
74+
}

0 commit comments

Comments
 (0)
Please sign in to comment.