-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutput.tf
29 lines (24 loc) · 984 Bytes
/
output.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
output "s3_bucket" {
value = aws_s3_bucket.website_bucket.id
description = "ID/Name of S3 bucket created for serving static website"
}
output "s3_bucket_arn" {
value = aws_s3_bucket.website_bucket.arn
description = "ARN of S3 bucket created for serving static website"
}
output "cloudfront_id" {
value = aws_cloudfront_distribution.website_cdn.id
description = "ID of CloudFront distribution created for serving static website"
}
output "cloudfront_arn" {
value = aws_cloudfront_distribution.website_cdn.arn
description = "ARN of CloudFront distribution created for serving static website"
}
output "cloudfront_endpoint" {
value = aws_cloudfront_distribution.website_cdn.domain_name
description = "Endpoint of CloudFront distribution created for serving static website"
}
output "website_endpoints" {
value = local.website_domains
description = "Alternate domain names created in Route53 for CloudFront distribution"
}