-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathoutputs.tf
More file actions
29 lines (24 loc) · 952 Bytes
/
outputs.tf
File metadata and controls
29 lines (24 loc) · 952 Bytes
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
output "custom_domain_name" {
description = "The custom domain name of the CloudFront distribution."
value = var.domain_name
}
output "s3_bucket_name" {
description = "The name of the origin bucket."
value = aws_s3_bucket.origin.id
}
output "s3_bucket_domain_name" {
description = "The domain name of the s3 web site bucket."
value = aws_s3_bucket.origin.bucket_domain_name
}
output "s3_bucket_regional_domain_name" {
description = "The regional domain name of the s3 web site bucket."
value = aws_s3_bucket.origin.bucket_regional_domain_name
}
output "cloudfront_url" {
description = "The URL for the Cloudfront Distribution - used to set the alias for the custom domain."
value = aws_cloudfront_distribution.this.domain_name
}
output "cloudfront_hosted_zone" {
description = "The hosted zone id of the Cloudfront Distribution"
value = aws_cloudfront_distribution.this.hosted_zone_id
}