Skip to content

Commit

Permalink
Add descriptions to all the outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanio committed Sep 20, 2017
1 parent 77ea860 commit 8142085
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions outputs.tf
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}"
}

0 comments on commit 8142085

Please sign in to comment.