Use Serverless without Iam GetRole authorization

To solve this problem I created a User Defined Policy say “iam_get_role_policy” with the following details
Service: IAM
Actions: Read (all of them), Write (CreateRole)

Assign this policy to the User’s group.