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

feat: add AWS SSO support #883

Merged

Conversation

thundering-herd
Copy link
Contributor

@thundering-herd thundering-herd commented Apr 29, 2021

Hej,
To support AWS SSO we need to Bump the AWS SDK which is providing
support recently.

Also we need to adjust our creation of sessions to include the SharedConfigState field. See
https://aws.amazon.com/blogs/developer/aws-sso-support-in-the-aws-sdk-for-go/ for more information.

Cheers!

To support AWS SSO we need to Bump the AWS SDK which is providing
support recently.

Also we need to adjust our creation of sessins to include the
`SharedConfigState` field. See
https://aws.amazon.com/blogs/developer/aws-sso-support-in-the-aws-sdk-for-go/
for more information.
yorinasub17
yorinasub17 previously approved these changes Apr 29, 2021
Copy link
Contributor

@yorinasub17 yorinasub17 left a comment

Choose a reason for hiding this comment

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

This LGTM. Thanks for your contribution! We will kick off a regression build, and if that passes, this can be merged in.

Copy link
Contributor

@yorinasub17 yorinasub17 left a comment

Choose a reason for hiding this comment

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

Ah looks like our precommit checks failed. Can you run go fmt on modules/aws/auth.go?

@thundering-herd
Copy link
Contributor Author

@yorinasub17 thanks for the hint. It is now fixed :)

@yorinasub17
Copy link
Contributor

Sorry for the delay in replying here! This patch worked, but it broke our binary build pipeline because the updated aws-sdk-go version requires more resources to compile.

Can you apply this commit here? 1919b72

With that change, we should be able to merge this in!

@thundering-herd
Copy link
Contributor Author

Ok, sorry for the delay but I know cherry-picked the mentioned commit.

@fzipi360
Copy link

Would be awesome to have this, it is blocking us now!

@yorinasub17
Copy link
Contributor

Apologies for the delay. Update LGTM! I am kicking off the build now and if it passes, we can merge this in.

Copy link
Contributor

@yorinasub17 yorinasub17 left a comment

Choose a reason for hiding this comment

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

Build passed! Merging now! Thanks for the contribution!

@yorinasub17
Copy link
Contributor

Thanks @infraredgirl ! Merging now.

@yorinasub17 yorinasub17 merged commit 38f3e06 into gruntwork-io:master May 28, 2021
robcamer pushed a commit to aztfmod/terratest that referenced this pull request Jun 14, 2021
* feat: add AWS SSO support

To support AWS SSO we need to Bump the AWS SDK which is providing
support recently.

Also we need to adjust our creation of sessins to include the
`SharedConfigState` field. See
https://aws.amazon.com/blogs/developer/aws-sso-support-in-the-aws-sdk-for-go/
for more information.

* fix: gofmt

* Limit parallelism due to aws-sdk-go failing

Co-authored-by: Yoriyasu Yano <[email protected]>
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.

4 participants