-
Notifications
You must be signed in to change notification settings - Fork 4k
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
fix(s3): urlForObject does not consider explicit bucket region #14315
Conversation
This commit updates urlForObject() to use the bucket's region instead of the stack's region when constructing the returned URL. Refs: aws#14149
Friendly ping @iliapolo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for submitting this PR! It looks good to me, however I haven't had the time to fully verify that it works. I'll get to that on Monday and assuming the PR is good I'll merge it then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. @peterwoodworth I've added do-not-merge
in case you still want to verify something here. Feel free to remove the label and let it merge.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Yup! it's good. Thank you for the contribution @cjihrig 😄 |
This commit updates
urlForObject()
to use the bucket's region instead of the stack's region when constructing the returned URL.Fixes #14149
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license