Use !Ref to return RoleName
Using !GetAtt without a property value is invalid syntax, here and leads to this error message:
An error occurred (ValidationError) when calling the CreateChangeSet operation: Template error: if specifying one argument to Fn::GetAtt, that argument must be a non-empty string in format .
The fix is to use !Ref instead of !GetAtt. The AWS documentation shows that !Ref returns RoleName:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html