Skip to content

Example of AWS CDK deployment of a lambda function with python requirements

Notifications You must be signed in to change notification settings

iguanaus/cdk-lambda-python-with-requirements

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CDK-Lambda-Python-With-Requirements

Project template to show how to use CDK to create a basic lambda function with some pip/python requirements.

Deployment Instructions

  1. docker run --rm --volume=$(pwd):/lambda-build -w=/lambda-build lambci/lambda:build-python3.8 pip install -r requirements-layer.txt --target build/python
  2. cdk synth
  3. cdk deploy

Testing

Go to the AWS console and hit test!

About

Example of AWS CDK deployment of a lambda function with python requirements

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages