Skip to content

mr-swaraj-chaudhary/lambda-dependencies-manual-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manual deployment of lambda with dependencies

  • Develop lambda.py

  • Pull dependencies in dependencies folder:

    python3 -m pip install requests -t dependencies
    
  • Create a zip of dependencies:

    cd dependencies
    zip -r ../deployment-package.zip .
    cd ..
    
  • Add lambda in deployment package:

    zip -g deployment-package.zip lambda.py
    
  • Create a lambda on console and set it's runtime to python3.11

  • Update handler to lambda.lambda_handler in runtime settings on console

Technologies

  • Python
  • Windows Subsystem Linux (WSL)

About

Manual deployment of a lambda with dependencies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages