Storage S3 Bucket ACL Ownership Issue

1

Hi Team,

I'm getting below issue while creating a template on Cloud formation. As per AWS guide line, ACL is disabled on object owner ship and below two CLI's are executed,

aws s3api put-bucket-acl --bucket DOC-EXAMPLE-BUCKET --acl private aws s3api put-bucket-ownership-controls --bucket DOC-EXAMPLE-BUCKET --ownership-controls Rules=[{ObjectOwnership=BucketOwnerEnforced}]

but still I'm suffering from below issue.

Bucket cannot have ACLs set with ObjectOwnership's BucketOwnerEnforced setting (Service: Amazon S3; Status Code: 400; Error Code: InvalidBucketAclWithObjectOwnership;

ArunPB
질문됨 10달 전267회 조회
1개 답변
0

The knowledge document https://repost.aws/knowledge-center/cloudformation-objectownership-acl-error addresses your error message “Bucket cannot have ACLs set with ObjectOwnership's BucketOwnerEnforced setting” as well as specifically mentioning CloudFormation.

profile picture
전문가
Steve_M
답변함 10달 전
  • Hi, Still, this is not resolving the issue on cloud formation. Though I've done the template setup for S3 bucket, as informed in that provided link, issue hasn't got resolved yet. Same Issue response is received from cloud formation.

  • I'm following below PDF link to create CloudFormation using template which is predefined for VoiceMail. https://github.com/amazon-connect/voicemail-for-amazon-connect/blob/master/voicemail-for-amazon-connect-implementation-guide.pdf

    While following the steps on creating Stacks on CloudFormation, I'm facing the issue "Bucket cannot have ACLs set with ObjectOwnership's BucketOwnerEnforced setting (Service: Amazon S3; Status Code: 400; Error Code: InvalidBucketAclWithObjectOwnership;"

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

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

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

관련 콘텐츠