-
-
Notifications
You must be signed in to change notification settings - Fork 288
Expand file tree
/
Copy pathoutputs.tf
More file actions
145 lines (115 loc) 路 5.76 KB
/
Copy pathoutputs.tf
File metadata and controls
145 lines (115 loc) 路 5.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
################################################################################
# Distribution
################################################################################
output "cloudfront_distribution_id" {
description = "The identifier for the distribution."
value = try(aws_cloudfront_distribution.this[0].id, null)
}
output "cloudfront_distribution_arn" {
description = "The ARN (Amazon Resource Name) for the distribution."
value = try(aws_cloudfront_distribution.this[0].arn, null)
}
output "cloudfront_distribution_caller_reference" {
description = "Internal value used by CloudFront to allow future updates to the distribution configuration."
value = try(aws_cloudfront_distribution.this[0].caller_reference, null)
}
output "cloudfront_distribution_status" {
description = "The current status of the distribution. Deployed if the distribution's information is fully propagated throughout the Amazon CloudFront system."
value = try(aws_cloudfront_distribution.this[0].status, null)
}
output "cloudfront_distribution_trusted_signers" {
description = "List of nested attributes for active trusted signers, if the distribution is set up to serve private content with signed URLs"
value = try(aws_cloudfront_distribution.this[0].trusted_signers, null)
}
output "cloudfront_distribution_domain_name" {
description = "The domain name corresponding to the distribution."
value = try(aws_cloudfront_distribution.this[0].domain_name, null)
}
output "cloudfront_distribution_last_modified_time" {
description = "The date and time the distribution was last modified."
value = try(aws_cloudfront_distribution.this[0].last_modified_time, null)
}
output "cloudfront_distribution_in_progress_validation_batches" {
description = "The number of invalidation batches currently in progress."
value = try(aws_cloudfront_distribution.this[0].in_progress_validation_batches, null)
}
output "cloudfront_distribution_etag" {
description = "The current version of the distribution's information."
value = try(aws_cloudfront_distribution.this[0].etag, null)
}
output "cloudfront_distribution_hosted_zone_id" {
description = "The CloudFront Route 53 zone ID that can be used to route an Alias Resource Record Set to."
value = try(aws_cloudfront_distribution.this[0].hosted_zone_id, null)
}
################################################################################
# Origin Access Control
################################################################################
output "cloudfront_origin_access_controls" {
description = "The origin access controls created"
value = aws_cloudfront_origin_access_control.this
}
################################################################################
# VPC Origin
################################################################################
output "cloudfront_vpc_origins" {
description = "The IDS of the VPC origin created"
value = aws_cloudfront_vpc_origin.this
}
################################################################################
# Cache Policy
################################################################################
output "cloudfront_cache_policies" {
description = "The cache policies created"
value = aws_cloudfront_cache_policy.this
}
################################################################################
# Origin Request Policy
################################################################################
output "cloudfront_origin_request_policies" {
description = "The origin request policies created"
value = aws_cloudfront_origin_request_policy.this
}
################################################################################
# Response Headers Policy
################################################################################
output "cloudfront_response_headers_policies" {
description = "The response headers policies created"
value = aws_cloudfront_response_headers_policy.this
}
################################################################################
# Function(s)
################################################################################
output "cloudfront_functions" {
description = "The CloudFront Functions created"
value = aws_cloudfront_function.this
}
################################################################################
# Monitoring Subscription
################################################################################
output "cloudfront_monitoring_subscription_id" {
description = " The ID of the CloudFront monitoring subscription, which corresponds to the `distribution_id`."
value = try(aws_cloudfront_monitoring_subscription.this[0].id, null)
}
################################################################################
# Connection Function
################################################################################
output "connection_function_arn" {
description = "ARN of the connection function"
value = try(aws_cloudfront_connection_function.this[0].connection_function_arn, null)
}
output "connection_function_etag" {
description = "ETag of the connection function"
value = try(aws_cloudfront_connection_function.this[0].etag, null)
}
output "connection_function_id" {
description = "ID of the connection function"
value = try(aws_cloudfront_connection_function.this[0].id, null)
}
output "connection_function_live_stage_etag" {
description = "ETag of the function's LIVE stage. Will be empty if the function has not been published"
value = try(aws_cloudfront_connection_function.this[0].live_stage_etag, null)
}
output "connection_function_status" {
description = "Status of the connection function"
value = try(aws_cloudfront_connection_function.this[0].status, null)
}