-
-
Notifications
You must be signed in to change notification settings - Fork 88
Closed
Labels
Description
I am experimenting a bit with the PR #221 and although it works nicely with AWS S3, it does not seem to work with DO spaces. There are two issues.
- When you use
Read/Write/Deletebucket scoped access key, the s3 adapter fails withAccessDeniederror when trying to create already existing bucket. We always try tocreateBucketbefore performing any other operation. - When using
FullAccessaccess key, the s3 adapter fails withBucketAlreadyExistserror. If the bucket does not exist, first save will create it, and any other use of the adapter will fail withBucketAlreadyExistserror.
Looks like there is a difference in how AWS S3 JS SDK v2 and v3 handled the response of createBucket API call, although I could not find (yet) the offending line of code to confirm it.
In any way, PR #221 does not seem to work with DO Spaces as is.