The trick to use requests
from botocore.vendored no longer works with Python 3.8 on AWS Lambda which I assume includes the latest botocore-1.13.
This version no longer embeds requests
. Importing it works but the package is actually empty.
[ERROR] AttributeError: module 'botocore.vendored.requests' has no attribute 'post'
Is there a way to import requests
on native lambda? It's a basic and it would be a pain to go through the process of packaging the code for very simple Lambda.
Alternatively, anyone has another trick to call API-Gateway without requests
?