Skip to content

Commit

Permalink
added outputs.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
Cullan Carey authored and Cullan Carey committed May 8, 2022
1 parent 519c487 commit 6ae0d79
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
output "cloudfront_distribution_id" {
value = aws_cloudfront_distribution.website_distribution.id
description = "The ID of the Cloudfront distribution."
}

output "cloudfront_distribution_domain_name" {
value = aws_cloudfront_distribution.website_distribution.domain_name
description = "The domain name of the Cloudfront distribution."
}

output "lambda_function_name" {
value = aws_lambda_function.rotate_custom_header_lambda.function_name
description = "The name of the lambda function that rotates the secret string."
}

output "primary_bucket_arn" {
value = aws_s3_bucket.website.arn
description = "The arn of the primary website bucket."
}

output "route53_zone_arn" {
value = aws_route53_zone.root_zone.arn
description = "The arn of the route53 hosted zone."
}

output "acm_domain_names" {
value = aws_acm_certificate.certificate.domain_name
description = "The domain names that are associated to the ACM certificate."
}

0 comments on commit 6ae0d79

Please sign in to comment.