Can't create CloudFront distribution with standard logging despite I'm the bucket owner

0

I'm trying to create a CloudFront distribution for a S3 website endpoint, using AWS Console (I've also tried Terraform but the output is the same).

I want to use standard logging, and for that I created a S3 bucket with Block all public access enabled. I'm the owner of said bucket.

As per the docs, I've also added ACL permissions for awslogsdelivery account. However, when I try to create the distribution, I receive the following error:

You do not have permission to use my-bucket.s3.amazonaws.com for standard logging. To use this bucket, the bucket's owner will need to create a FULL_CONTROL access control list (ACL) for your account. Once you have access, please try creating the distribution again. More information on ACLs can be found here .

The Object Ownership is set to Bucket owner preferred.

As I said, I'm the owner of the bucket so I don't really know what's going on here. Any ideas?

Thanks in advance

frand
質問済み 9ヶ月前278ビュー
1回答
0
承認された回答

I just changed the region of the bucket from eu-south-2 to eu-west-1 and it worked. Is this the expected behaviour?

frand
回答済み 9ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ