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

vendor: Update AWS SDK #684

Conversation

matan129
Copy link
Contributor

@matan129 matan129 commented Dec 6, 2023

Hi, this is a simple change - I have a setup with AWS SSO, specifically sso_session (docs).

It got implemented in the AWS Go SDK fairly recently aws/aws-sdk-go#4885 - v1.44.298

Since it's just a patch version upgrade, it was just a simple matter of bumping the version.

Thanks

@matan129 matan129 requested a review from a team as a code owner December 6, 2023 13:21
@matan129 matan129 requested review from ilkinulas and denizsurmeli and removed request for a team December 6, 2023 13:21
@matan129 matan129 changed the title Support AWS sso_session setup aws-sdk-go@1.44.298 Support AWS sso_session setup Dec 6, 2023
@tmehlinger
Copy link

Just ran into this myself. Please review and cut this into a new release.

@matan129
Copy link
Contributor Author

Hi @igungor, can we get this merged? Thanks 🙏

@billzhang3046
Copy link

Is there any update to this PR? Really looking forward to supporting S3 Express!

@matan129
Copy link
Contributor Author

Hi @ahmethakanbesel, any change for getting it merged?

@denizsurmeli
Copy link
Contributor

Closes #726.

@denizsurmeli
Copy link
Contributor

Hi, thanks for your contribution. Can you please follow the style guide in the PR title, since the title will be the commit message in the master branch.

@matan129 matan129 changed the title Support AWS sso_session setup vendor: Update AWS SDK Jun 28, 2024
@matan129
Copy link
Contributor Author

Done

@denizsurmeli
Copy link
Contributor

Hi, with the following go build:

go version go1.22.1 darwin/arm64

When run

go mod tidy && go mod vendor

The following diff occurs.

diff --git a/go.sum b/go.sum
index cf4b72f..53f6cf4 100644
--- a/go.sum
+++ b/go.sum
@@ -1,6 +1,5 @@
 github.com/VividCortex/ewma v1.2.0 h1:f58SaIzcDXrSy3kWaHNvuJgJ3Nmz59Zji6XoJR/q1ow=
 github.com/VividCortex/ewma v1.2.0/go.mod h1:nz4BbCtbLyFDeC9SUHbtcT5644juEuWfUAUnGx7j5l4=
-github.com/aws/aws-sdk-go v1.44.256 h1:O8VH+bJqgLDguqkH/xQBFz5o/YheeZqgcOYIgsTVWY4=
 github.com/aws/aws-sdk-go v1.44.256/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
 github.com/aws/aws-sdk-go v1.44.298 h1:5qTxdubgV7PptZJmp/2qDwD2JL187ePL7VOxsSh1i3g=
 github.com/aws/aws-sdk-go v1.44.298/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=

The same diff occurs with go 1.19.1. Can you please go mod tidy && go mod vendor and add the changes to the PR ? Thanks.

@matan129 matan129 force-pushed the feature/update-aws-sdk-to-support-sso-session branch from 61d53cf to 162524c Compare July 3, 2024 07:32
@matan129
Copy link
Contributor Author

matan129 commented Jul 3, 2024

Fixed

@matan129 matan129 force-pushed the feature/update-aws-sdk-to-support-sso-session branch from 162524c to 911be65 Compare July 3, 2024 07:33
@ilkinulas ilkinulas merged commit 1a5e546 into peak:master Jul 4, 2024
13 checks passed
denizsurmeli added a commit that referenced this pull request Jul 4, 2024
#684 shows that if the vendor and the
vendor generated by the tidy&vendor pipeline has diffs, we don't fail in
the CI, but we should. This PR adds the check to the Makefile.

---------

Co-authored-by: Deniz Surmeli <denizsurmeli@peak.com>
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.

6 participants