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
feita há 10 meses267 visualizações
1 Resposta
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
ESPECIALISTA
Steve_M
respondido há 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;"

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas