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
asked 10 months ago254 views
1 Answer
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
EXPERT
Steve_M
answered 10 months ago
  • 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;"

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions