You actually don't need to rebuild it. Just change the lambda_function.py to your wishes, then:
- Upload the zip file or rebuild it yourself (not necessary)
- Paste the lambda_function.py in the lambda function editor
- Add layer in Lambda
Previous owner:
Read the full story here.
I added the Alpaca API and yfinance.