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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠