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
preguntada hace 10 meses267 visualizaciones
1 Respuesta
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
EXPERTO
Steve_M
respondido hace 10 meses
  • 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;"

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas