-
Notifications
You must be signed in to change notification settings - Fork 109
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
Go documentation refers to deprecated calls #1315
Comments
Hello! From the LocalStack logs, it seems the
Is your SDK sending the request to an host looking like LocalStack cannot parse this request, you'll need to prefix your endpoint, like the following : I'm trying to look for information about the Go SDK v2 and path style requests and found this documentation: There's a note in the documentation here:
Even if deprecated, seeing this note, I believe it makes sense to keep the v1 endpoint resolver for now, we can however add a note about this and to the implementation in the v2 documentation. |
Hey, thanks for looking into this! I tried I think the code in the localstack docs is the only way to do this right now. I can make a PR to make a note of this in the doc if that would be helpful. |
Here are the deprecation warnings:
This is the config I'm using, instead of the deprecated method in your doc:
However, a
putObject
operation does not work with this config:this works using the aws cli:
I'm not sure why the golang sdk is attempting to upload the file "directly" (or something?) whereas
aws s3 cp
uses thePutObject
op.The text was updated successfully, but these errors were encountered: