aws-sdk-js: Amazon S3 will no longer support path-style API requests
Amazon S3 will no longer support path-style API requests starting September 30th, 2020
https://forums.aws.amazon.com/ann.jspa?annID=6776
Would the following announcement have any impact on this package or any previous version. For example, we currently use version ^2.257.1
with the following call:
...
...
const s3 = new AWS.S3();
const params = {
Bucket: Config.aws.bucketName,
Key: "worker/" + name,
Body: ReadStream
};
try {
await s3.upload(params).promise()
...
...
Just wanted to get a consensus from the community on this announcement.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 3
- Comments: 16 (2 by maintainers)
This is certainly a bug now and it is broken for new buckets.
Any progress on this? I just read an email from AWS stating that virtual host style URLs have been around for at least 10 years and deprecation for path style URLs is imminent but
S3->getSignedURL()
is still returning path style URLs for me. I haven’t been able to find any documentation on how to get that method to return virtual host style URLs.Hi, @mischuler
Thank you for reaching out. I label this as a feature request. We will fix this soon
I have the same question for pre-signed posts. We currently use s3.createPresignedPost() to get a path to upload to S3, and that call currently returns a path-style url.