-
Notifications
You must be signed in to change notification settings - Fork 5
/
outputs.tf
42 lines (33 loc) · 1.05 KB
/
outputs.tf
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
# Output Variables
output "bucket_id" {
description = "S3 bucket name"
value = aws_s3_bucket.main.id
}
output "bucket_regional" {
description = "S3 bucket region-specific domain name, also used as CloudFront Origin ID"
value = aws_s3_bucket.main.bucket_regional_domain_name
}
output "cert_arn" {
description = "ACM certificate ARN"
value = aws_acm_certificate.main.arn
}
output "dist_id" {
description = "CloudFront distribution ID"
value = aws_cloudfront_distribution.main.id
}
output "dist_arn" {
description = "CloudFront distribution ARN"
value = aws_cloudfront_distribution.main.arn
}
output "dist_domain" {
description = "CloudFront distribution domain name"
value = aws_cloudfront_distribution.main.domain_name
}
output "dist_zone_id" {
description = "CloudFront zone ID that can be used to point Route 53 alias records to"
value = aws_cloudfront_distribution.main.hosted_zone_id
}
output "alias_fqdn" {
description = "DNS alias record FQDN"
value = aws_route53_record.main.fqdn
}