Role.getTags() returning empty list
I am trying to get the tags associated with an IAM Role and the getTags() method on Role object returned by listRoles() is returning empty list. The same issue exists for IamUser as well.
Hi @anilcs81,
calling the listRoles() API with wire logging turned on I noticed that the response does not contain the Tags info in the Role structure. That's why getTags() is returning an empty list.
This is a service side issue, so I'll contact the IAM team. We suggest you also try to reach out to the team directly by raising this in the AWS Developer Forum or contacting the AWS Customer Support.
Any fix in pipeline for this?
No word from the IAM team yet.
Just tested this, and the tags are now present in GetRole() response.
COMMENT VISIBILITY WARNING
Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.