Skip to content

Commit f9fa8d1

Browse files
Update cloudfront.tf
1 parent c646baa commit f9fa8d1

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

cloudfront.tf

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ resource "aws_cloudfront_distribution" "this" {
1616

1717
logging_config {
1818
include_cookies = false
19-
bucket = "logs.s3.amazonaws.com"
19+
bucket = "log_bucket.s3.amazonaws.com"
2020
prefix = "myprefix"
2121
}
2222

@@ -55,13 +55,3 @@ resource "aws_cloudfront_distribution" "this" {
5555

5656
}
5757
}
58-
59-
resource "aws_s3_bucket" "this" {
60-
bucket = "logs"
61-
62-
block_public_acls = true
63-
64-
tags = {
65-
Name = "logs"
66-
}
67-
}

0 commit comments

Comments
 (0)