Skip to content

Commit

Permalink
Update outputs.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
atthematyo committed Apr 15, 2024
1 parent b1528d1 commit 2a0d937
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 "s3_hosted_zone_id" {
value = aws_s3_bucket.main.hosted_zone_id
value = aws_s3_bucket.main.hosted_zone_id
description = "Hosted zone id of main bucket"
}

output "cloudfront_domain" {
value = aws_cloudfront_distribution.main.*.domain_name
value = aws_cloudfront_distribution.main.*.domain_name
description = "Cloudfront domain"
}

output "cloudfront_hosted_zone" {
value = aws_cloudfront_distribution.main.*.hosted_zone_id
value = aws_cloudfront_distribution.main.*.hosted_zone_id
description = "Cloud front hosted zone"
}

output "main_bucket" {
value = aws_s3_bucket.main.id
value = aws_s3_bucket.main.id
description = "Bucket id of main bucket"
}

0 comments on commit 2a0d937

Please sign in to comment.