stevec
stevec

Reputation: 52728

Best practice for using github and AWS lambda?

I'm writing AWS lambda's in the browser and want to improve my version control process from the present setup, which is to copy paste the lambda code into a text file and manually commit to a repository.

Is there a better (and preferably straight-forward) way of using AWS lambda with version control (in my case git/github)?

Upvotes: 2

Views: 1520

Answers (3)

C RICH
C RICH

Reputation: 513

If youre using VSCode, I found this extension has made it very easy to sync your local machine with your lambdas (and other AWS resources). I take advantage of the VSCode version control tab and this one to maintain reliable versioning on my lambdas.

Upvotes: 0

Prabhu Prabhakaran
Prabhu Prabhakaran

Reputation: 123

You can try this to get your code sync with GitHub

https://npm.io/package/aws-lambda-sync

Upvotes: 0

dmigo
dmigo

Reputation: 3029

There is an example in this git repository provided by AWS.

It is a bit too big to retype it here.

Upvotes: 0

Related Questions