How to login to Realm from an Aws Lambda

cloud

#1

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?