-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathoutputs.tf
More file actions
34 lines (28 loc) · 1.06 KB
/
outputs.tf
File metadata and controls
34 lines (28 loc) · 1.06 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
output "certificate_arn" {
description = "ARN of ACM SSL certificate created for CloudFront"
value = aws_acm_certificate_validation.this.certificate_arn
}
output "cloudfront_arn" {
description = "ARN of CloudFront distribution creates"
value = module.cloudfront.cloudfront_distribution_arn
}
output "cloudfront_id" {
description = "ID CloudFront distribution ID"
value = module.cloudfront.cloudfront_distribution_id
}
output "cloudfront_hosted_zone_id" {
description = "Hosted Zone ID CloudFront distribution uses"
value = module.cloudfront.cloudfront_distribution_hosted_zone_id
}
output "cloudfront_alias" {
description = "Alias hostname of CloudFront distribution"
value = try(aws_route53_record.this[0].fqdn, null)
}
output "cloudfront_alias_additional_zones" {
description = "Alias hostname of CloudFront distribution for additional zones"
value = { for k, v in aws_route53_record.additional_records : k => v.fqdn }
}
output "s3_origin" {
description = "S3 origin bucket output"
value = module.s3_origin
}