Skip to content

Commit

Permalink
In the resource aws_cloudfront_distribution for argumentrelated to lo…
Browse files Browse the repository at this point in the history
…gs 'bucket' provide a note in documentation explaining that correct ACL should be added to the bucket for logs to be written to the S3 bucket
  • Loading branch information
mykah committed Dec 25, 2024
1 parent 9524f4f commit cbdfe62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/r/cloudfront_distribution.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ argument should not be specified.

#### Logging Config Arguments

* `bucket` (Required) - Amazon S3 bucket to store the access logs in, for example, `myawslogbucket.s3.amazonaws.com`.
* `bucket` (Required) - Amazon S3 bucket to store the access logs in, for example, `myawslogbucket.s3.amazonaws.com`. The bucket must have correct ACL attached with "FULL_CONTROL" permission for "awslogsdelivery" account (Canonical ID: "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0") for log transfer to work.
* `include_cookies` (Optional) - Whether to include cookies in access logs (default: `false`).
* `prefix` (Optional) - Prefix to the access log filenames for this distribution, for example, `myprefix/`.

Expand Down

0 comments on commit cbdfe62

Please sign in to comment.