How to login to Realm from an Aws Lambda



So when Realm .Sync.user.login runs it creates the realm-oject-server directory on the local machine. The problem is an AWS lambda is write protected for every folder but /tmp/ .So each time it tries to login from the lambda the whole thing crashes on the mkdir. IS thera way around this, like changing where the fiels and directories are to be written too?


Did you ever find an an answer for this? I am struggling with the same issue in Azure Functions. I’ve been researching this all day which led me here:

That issue transferred responsibility to the realm-js team tracked here:

After reviewing the commits in the PR, I looked through the current source but still can’t find any support for specifying the location of the realm-object-server directory.