-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
When role name contains '/' characters it's not possible to use -r parameter for these roles because of current implementation splits ARN by '/' and compare second item from split result with value of '-r' parameter.
So in case when the role named "dep1/group2/super.role3" its arn is something like "arn:aws:iam::123456789012:role/dep1/group2/super.role3".
Please fix.
Line 237 in 8bc01f7
| role = row.split('/')[1] |
It's now
role = row.split('/')[1]
Should be
role = row.split('/',maxsplit=1)[1]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels