-
Notifications
You must be signed in to change notification settings - Fork 146
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(iam): support assume role #691
feat(iam): support assume role #691
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @JBOClara,
a few things here:
- There's a lot of noise in this PR due to reformatting of unmodified code, most probably due to your IDE settings. Could you revert these changes so that it's clear what was modified by this PR specifically?
- This comment suggests that there's a simpler solution which would be to construct the client without passing credentials if none are provided. That seems like an interesting option but is not what's done in your PR. What's your opinion on this?
Ok, I'll review the formatting. About the simpler solution, I'm currently implementing it. I have a hard time mocking the token file |
I'm confused, you're using two separate github accounts, right? 🙂 |
Sorry for the confusion, I'll make sure not to make the mistake again. I will push my changes to discuss this topic. |
No worries, thanks! |
d4bb758
to
2a0afe0
Compare
3dcd800
to
82cc1ae
Compare
82cc1ae
to
082375b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good and I was able to successfully test them using a role attached to an ec2 instance 👍
Issue: CI is failing due to formatting issues detected by flake8. See here.
Once these are fixed and CI passes, we'll be good for a merge.
Thanks!
8a9a189
to
df4d929
Compare
4f73326
to
373866d
Compare
373866d
to
847c470
Compare
Quality Gate passedThe SonarCloud Quality Gate passed, but some issues were introduced. 2 New issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome stuff, thanks @JBOClara 🙏
Fix #691