- Create new Lambda and check. Expand "Advanced settings" and check "Enable function URL"
- Locate and copy "Function URL" and save it for later
- Copy
lambda_function.py
file contents into thelamdba_function
code window - Click on "Deploy"
- Define Environment Variables
- TIMESTAMP_DIFF_TOLERANCE_SEC
- MY_SECRET
- create venv
- pip install requirements
- Define Environment Variables
- TIMESTAMP_DIFF_TOLERANCE_SEC (same as lambda)
- MY_SECRET (same as lambda)
- WEBHOOK_URL (use the lambda "Function URL")
- Run
python main.py