forked from cloudposse/terraform-aws-s3-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
34 lines (28 loc) · 946 Bytes
/
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
output "hostname" {
value = var.hostname
description = "Bucket hostname"
}
output "s3_bucket_name" {
value = aws_s3_bucket.default.id
description = "DNS record of the website bucket"
}
output "s3_bucket_domain_name" {
value = aws_s3_bucket.default.bucket_domain_name
description = "S3 bucket domain name"
}
output "s3_bucket_regional_domain_name" {
description = "S3 bucket regional domain name"
value = aws_s3_bucket.default.bucket_regional_domain_name
}
output "s3_bucket_website_endpoint" {
value = aws_s3_bucket.default.website_endpoint
description = "The website endpoint URL"
}
output "s3_bucket_website_domain" {
value = aws_s3_bucket.default.website_domain
description = "The domain of the website endpoint"
}
output "s3_bucket_hosted_zone_id" {
value = aws_s3_bucket.default.hosted_zone_id
description = "The Route 53 Hosted Zone ID for this bucket's region"
}