Skip to content
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

Migrate to AWS SDK v2 #285

Merged
merged 3 commits into from
Oct 27, 2021
Merged

Migrate to AWS SDK v2 #285

merged 3 commits into from
Oct 27, 2021

Conversation

christopher-dG
Copy link
Contributor

Issue #, if available:

Closes #282, I think it might also solve a few other auth-related issues in this repo.

Description of changes:

  • Migrated to AWS SDK v2.
  • The check for AWS_SDK_LOAD_CONFIG is gone, since I couldn't find any mention it in SDK v2. It's always enabled now.
  • I'm not sure if I correctly "translated" the endpoint resolving/discovery, since I'm really unfamiliar with that as a whole.

I have confirmed this works for my own use cases (assuming a role via EC2 instance metadata with a config profile).

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@kzys kzys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@samuelkarp What do you think?

@christopher-dG
Copy link
Contributor Author

Oh by the way, I think the third party license file needs to be updated, I wasn't entirely sure how to format it.

@omus
Copy link

omus commented Aug 9, 2021

Bump

@kzys
Copy link
Contributor

kzys commented Aug 11, 2021

@christopher-dG I can take a look the license file part. Can you squash the vendor commit and the revendor commit into one? They don't have to be separate, I think.

I'm going to remove Go 1.12 in #291. The version is no longer supported by the Go team.

@christopher-dG
Copy link
Contributor Author

bump!

@kzys
Copy link
Contributor

kzys commented Oct 27, 2021

Looks good to me. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to AWS SDK v2
3 participants