Skip to content

Commit

Permalink
Update cloudfront.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
kariemoorman committed Apr 26, 2024
1 parent c55294f commit ca458c2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tf/step2_cf_rt53/cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ resource "aws_cloudfront_distribution" "cdn_static_site" {
}
}

logging_config {
bucket = aws_s3_bucket.log_bucket.bucket_domain_name
include_cookies = false
prefix = "cdn-access-logs/"
}

restrictions {
geo_restriction {
locations = []
Expand Down

0 comments on commit ca458c2

Please sign in to comment.