-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
77ea860
commit 8142085
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
output "hostname" { | ||
value = "https://${var.hostname}/" | ||
description = "The URL for the Website." | ||
value = "https://${var.hostname}/" | ||
} | ||
|
||
output "s3_bucket_name" { | ||
value = "${aws_s3_bucket.content.id}" | ||
description = "The name of the S3 bucket to upload the website content to." | ||
value = "${aws_s3_bucket.content.id}" | ||
} | ||
|
||
output "cloudfront_distribution_id" { | ||
value = "${aws_cloudfront_distribution.website.id}" | ||
description = "The ID of the CloudFront Distribution." | ||
value = "${aws_cloudfront_distribution.website.id}" | ||
} | ||
|
||
output "cloudfront_distribution_hostname" { | ||
value = "${aws_cloudfront_distribution.website.domain_name}" | ||
description = "The hostname of the CloudFront Distribution (use for DNS CNAME)." | ||
value = "${aws_cloudfront_distribution.website.domain_name}" | ||
} |