Created
June 19, 2020 06:19
-
-
Save gwsu2008/bd0e465cbae0f272c67774ac887fc9ac to your computer and use it in GitHub Desktop.
aws-lambda-import-boto3.py
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
import os | |
import os.path | |
import sys | |
root = os.environ["LAMBDA_TASK_ROOT"] | |
sys.path.insert(0, root) | |
import boto3 #should grab boto3 from included zip first |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment