Open arief-hidayat opened 2 weeks ago
Hi @arief-hidayat ,
Thank you for the update! (and sorry for the late follow up) Can you clarify what is the issue in other regions (or error you got)?
The use of s3v4
was already set for all pre-signed URLs (which is when CORS would matter). (And the SDK automatically sets the current region)
That being said I don't see a downside of this change since v4 is the current version
Issue #, if available: encounter S3 issue when deploying from ap-southeast-3 (other than us-east-1), such as CORS.
Description of changes: follow recommendation from https://aws.amazon.com/blogs/media/deep-dive-into-cors-configs-on-aws-s3-how-to/
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.