aws-samples / aws-samples/lambdaedge-openidconnect-samples

Bucket cannot have ACLs set with ObjectOwnership's BucketOwnerEnforced

Open
#57 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
73
Forks
22
Avg merge
19h 45m
Merged PRs (30d)
1

Description

Deployment fails on this error:

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

This looks like it's related to an AWS default's changed documented here: https://aws.amazon.com/about-aws/whats-new/2022/12/amazon-s3-automatically-enable-block-public-access-disable-access-control-lists-buckets-april-2023/

Contributor guide

Open the contributing guide

Research direction

Start by locating the deployment configuration that creates the S3 bucket and compare its ACL and ObjectOwnership settings with the AWS notice linked in the issue. Done means the deployment no longer requests an incompatible ACL with BucketOwnerEnforced; no file or test is identified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.