I have a function which uses elasticsearch-py package. I am using cloud9 to create a lambda function where I installed elasticsearch package within the project directory using "pip install elasticsearch -t . " When I am trying to run the function Lambda(Local), i am receiving the following error.
Hi,
I have a function which uses elasticsearch-py package. I am using cloud9 to create a lambda function where I installed elasticsearch package within the project directory using "pip install elasticsearch -t . " When I am trying to run the function Lambda(Local), i am receiving the following error.
Project Directory:
function:
from elasticsearch import Elasticsearch
def lambda_handler(event, context):
TODO implement
Any help on this is highly appreciated.