-
Create IAM user--> Add permissions policies
-
Create empty git repository
-
Add AWS credentials to git repository
go to github settings--> secrets and credentials--> Add new repository secrets
-
Use any code editor and clone git repository.
-
Install serverless via npm
npm install -g serverless
-
Create AWS Nodejs boilerplate project template using command
serverless create --template aws-nodejs
This will create three files gitignore, serverless.yml and handler.js files in project template
-
Create src folder and move handler.js into src
-
Create folder struture .github folder --> workflows folder --> add main.yml file
-
commit and push code to remote repository. Github automatically deploy lambda and create CloudFormation Stack
-
Notifications
You must be signed in to change notification settings - Fork 0
Avanve/Serverless-Lambda-GithubActions
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Automate AWS Lambda deployment using Github Actions and Serverless Framework
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published