简体   繁体   中英

AWS python lambda deployment package how can i just pull the source or package from source control?

I have a lambda python deployment package, which means I have to create venv and zip it, and upload it each time I do some change to the python script.
my question is how can configure the AWS lambda to use lambda from source control that means i what to get this flow:

function.py --> push to source control -> I manual pull from source control from AWS -> AWS using the new script

also, i missing the part of who will create the zip...

Take a look at the reference deployment Serverless CI/CD for the Enterprise on AWS here . Note that this deployment uses only only AWS Services and there are a lot of other options besides them. This is a good starting point to what you are looking for.

If you want to set this up quickly and painlessly you can use CodeStar to create a Lambda Python example which is backed by either CodeCommit or Github and it will create the pipelines necessary to deploy your code whenever there is a change for full end to end CICD.

代码之星项目

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM