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;"

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南