Error in mongodb terraform

Hi,
I am getting the following error while giving the value “readWriteAnyDatabase” to the role_name in databaseuser field in mongodb terraform resource.

POST: HTTP 400 Bad Request (Error code: “INVALID_ATTRIBUTE”) Detail: Invalid attribute roleName
│ specified. Reason: Bad Request. Params: [roleName]
Any clue on this?