Relative Content

Tag Archive for pythonamazon-web-servicesdockerlambda

Library used in python lambda function trying to write to root folder

I’m trying to pull some data from yahoo fantasy using this Oauth library https://pypi.org/project/yahoo-oauth/. I upload my lambda as a docker image on ECR and the load that image on lambda. I want this function to run once a day but I am getting an error where this library seems to want to write to a root directory in the lambda environment. I know you can only write to tmp but I can’t control where this library is trying to write. What are my options?