Judi
Judi

Reputation: 910

How to to deploy AWS lambda using CodePipleline?

In this world of CICD,I have a lambda function ( written in typescript) and presently in Github. My IDE is vscode. I can do my development and push my change's to Github. I want that when I push my changes to github, the Lambda function should be deployed to my AWS account using Codebuild and codePipeline. I can create the codestar connection. Can anyone help me with this ?

It should be simple - I push my changes, and then the Lambda should be deployed - correct ?

My google search did not give me any how to solutions ?

Appreciate your help !

Upvotes: 0

Views: 803

Answers (2)

Yong Tao
Yong Tao

Reputation: 346

Here is a sample of using CodeBuild to deploy Lambda function. And you can set up a webhook for a CodeBuild project to continuously deploy new Lambda functions on every github change

https://docs.aws.amazon.com/codebuild/latest/userguide/sample-lambda-sam-gradle.html#sample-lambda-sam-gradle.set-up-buildspec

Upvotes: 0

Related Questions