The code contained in this repo includes:
- rds_config_sample.py
- app0.py
Replace the variables found in rds_config_sample.py
with the variables provided to you from your backend developer.
Follow the instructions at the link below:
The basic idea here is that you will create a virtual enviornment with the external packages required then cd
into that to zip and pull them out. After that would will just zip your application code (app0.py
in this case) and specify the file
.handler
function call in the lambda function.
- Set the lambda function into secturity gorup
wizard-2
and the execution role tolambda-vpc-role
. These have been configured for you and will have the correct whitelists to access the RDS configured for you.