I have two files:
MyLambdaFunction.py
config.json
I zip those two together to create MyLambdaFunction.zip. I then upload that through the AWS console to my lambda function.
The contents of config.json are various environmental variables. I need a way to read the contents of the file each time the lambda function runs, and then use the data inside to set run time variables.
How do I get my Python Lambda function to read the contents of a file, config.json, that was uploaded in the zip file with the source code?