Last active
March 7, 2019 03:52
-
-
Save mybluedog24/4d7913cd79b18d96356459241c0350bf to your computer and use it in GitHub Desktop.
These are the required packages for Lambda layer for connecting AWS Elasticsearch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export PKG_DIR="python" | |
rm -rf ${PKG_DIR} && mkdir -p ${PKG_DIR} | |
docker run --rm -v $(pwd):/foo -w /foo lambci/lambda:build-python3.6 \ | |
pip install -r requirements.txt -t ${PKG_DIR} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
requests==2.19.1 | |
requests-aws4auth==0.9 | |
elasticsearch==6.3.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment