Skip to content

jperez3/docker-python-lambda-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-python-lambda-builder

builds python lambda functions without Amazon Linux EC2 instance

General

  • Directions:
    • Build container make build
    • Create directory called lambda in your lambda repo with the following files:
$ tree lambda/
lambda/
├── Pipfile
├── Pipfile.lock
└── app.py
- Run container `make run`
- Upload lambda `aws lambda --profile sandbox update-function-code --function-name python_test --zip-file fileb://lambda/lambda.zip`
Container Usage
  • Build Container: make docker-build
  • Run Container: make docker-run
    • Expects lambda folder in current directory
  • Build and Run Container: make docker-up
    • Expects lambda folder in current directory
  • Stop Container: make docker-stop
  • Remove Container: make docker-remove
  • Stop and Remove Container: make docker-destroy
  • Debug Container: make docker-debug

Testing

To-Do

  • Set up and test SAM local lambda development
  • testing?
  • create/reference image
  • add semantic numbering to versions

Resources

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published