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

fix: [CI-14134]: fix cross account access #168

Merged
merged 2 commits into from
Sep 19, 2024
Merged

fix: [CI-14134]: fix cross account access #168

merged 2 commits into from
Sep 19, 2024

Conversation

abhay084
Copy link
Collaborator

@abhay084 abhay084 commented Sep 18, 2024

changes made: we were creating session with config which does not had the credential info, added a code change to update a session with new cred info. Which will help cross account to authenticate .
Test the change with OIDC flow also.

Screenshot 2024-09-19 at 1 13 43 AM Screenshot 2024-09-19 at 1 14 01 AM Screenshot 2024-09-19 at 1 14 40 AM

@Ompragash
Copy link
Member

@Ompragash Ompragash merged commit 1900baf into master Sep 19, 2024
@@ -460,6 +460,11 @@ func (p *Plugin) createS3Client() *s3.S3 {
log.Warn("AWS Key and/or Secret not provided (falling back to ec2 instance profile)")
}

sess, err = session.NewSession(conf)

Choose a reason for hiding this comment

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

Please run go fmt. The indentation is off.

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