Skip to content

Use session.NewSession in order to use AssumeRoleWithWebIdentity #1803

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

Merged
merged 1 commit into from
Nov 22, 2019

Conversation

adamjohnson01
Copy link
Contributor

@adamjohnson01 adamjohnson01 commented Nov 9, 2019

This PR replaces the deprecated session.New with session.NewSession which will enable support for using IAM roles for service accounts in AWS EKS

Fixes #1797, grafana/loki#1241

This is required to support IAM roles for service accounts in AWS EKS

Signed-off-by: Adam Johnson <[email protected]>
@gouthamve gouthamve requested a review from bboreham November 10, 2019 14:03
Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

LGTM

@dawidmalina
Copy link

When this PR will be merged?

@jtlisi jtlisi merged commit ed7c302 into cortexproject:master Nov 22, 2019
@adamjohnson01 adamjohnson01 deleted the aws-session branch November 29, 2019 20:42
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.

Add support for iam roles for service accounts in AWS
6 participants