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

AWS Role with path does not display properly #166

Closed
mholttech opened this issue Aug 30, 2021 · 1 comment
Closed

AWS Role with path does not display properly #166

mholttech opened this issue Aug 30, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@mholttech
Copy link
Contributor

Describe the bug
After testing support for AzureAD AWS Federation (#165) and logging into our environment I found that the AWS role name does not appear correctly when the AWS Role is in a path.

Leapp Version
Fork of 0.6.2 with Pull Request #165

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Session
  2. Click on 'AWS'
  3. Click on 'IAM Role Federated'
  4. Fill out the details and use a Role ARN that is in a path such as arn:aws:iam::123456789123:role/CAVM/AVM_app_dev
  5. See error

Expected behavior
I would expect to see the role name "AVM_app_dev" or the entire role path "CAVM/AVM_App_dev"

Screenshots
image

@mholttech mholttech added the bug Something isn't working label Aug 30, 2021
@pethron
Copy link
Contributor

pethron commented Sep 1, 2021

Thanks for reporting; we need to fix the method that extracts the last part from the ARN.
We'll try to fix this for the next release, I think it should be easy.

urz9999 added a commit that referenced this issue Sep 7, 2021
@mholttech mholttech reopened this Sep 8, 2021
ericvilla pushed a commit that referenced this issue Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants