1 Answer
- Newest
- Most votes
- Most comments
1
This error is related to the bucket being recognized as a “Bucket Owner Enforced” bucket during creation. ACLs such as “LogDeliveryWrite” are not able to be enabled when a bucket is in this state. This template can only work on buckets with ObjectWriter or BucketOwnerPreffered object ownership currently.
You can consider using the below options
1.Edit the template to specify a new object ownership rule
2.Remove the “LogDeliveryWrite” line and allow S3 to handle this itself via bucket policy.
=== Template ObjectOwnership: ObjectWriter (also tested) | ObjectOwnership: BucketOwnerEnforced (Returns the same error)- ===
OwnershipControls:
Rules:
- ObjectOwnership: BucketOwnerPreferred
Add this section to your template and that should resolve your issue
answered a year ago
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago