-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Access log bucket creation fails during deployment #9
Comments
Hey @steveaitch thanks for raising this with us. I will take a look into it. |
Thank you @steveaitch this has been resolved on the latest release. https://github.com/aws-samples/document-translation/releases/tag/v1.1.4 Upstream CDK related issue: aws/aws-cdk#25288 |
I'm commenting here as I've experienced a similar deployment error and I've noticed this issue is now closed . When attempting to deploy the app I face the below error:
I've the latest version of the repo and both serverAccessLoggingBucket and serverAccessLogsBucket have the Object Ownership set to OBJECT_WRITER which should prevent this deployment issue. Any idea on what is potential triggering the deployment error? |
Hey @giordafrancis I believe I was asked about this by your AWS SA and it's been resolved. Can you confirm that's the case? (Or I've gotten you mixed up with someone else. |
Yes! Thank you @philipws. It was me and now it's resolved. This was fixed by using the latest tag to date (v2.2.0) merging with main, and then deploying the stack. Also thank you for all the work you've put into the app. |
Since the April changes to S3 bucket public access and ACLs, deployment now fails when creating serverAccessLogsBucket in pipeline-stack.ts and serverAccessLoggingBucket in doctran-stack.ts, giving "Bucket cannot have ACLs set with ObjectOwnership's BucketOwnerEnforced setting" errors.
I have fixed this by adding
objectOwnership: s3.ObjectOwnership.OBJECT_WRITER,
to the properties when creating these buckets.This is with version 1.1.3.
The text was updated successfully, but these errors were encountered: