guckin / template-serverless-websocket

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Template Lambda

Typescript/Node template for AWS Lambda that deploys with AWS SAM using Github Actions

Prerequisites

  • IAM User with the following policies
IAMFullAccess
AmazonEC2ContainerRegistryFullAccess
AmazonS3FullAccess
AmazonAPIGatewayAdministrator
AWSCloudFormationFullAccess
AWSLambda_FullAccess

Configuration

Here are the following Github Secrets you should define for this repository:

AWS_ACCESS_KEY_ID IAM access key ID.

AWS_SECRET_ACCESS_KEY IAM access key

AWS_REGION Deployment region

ECR_REPO_URL URI of the ECR repository. The repository must be in the same region as Deployment region

Development

Install dependencies

npm i

running tests

npm test

About


Languages

Language:Dockerfile 52.5%Language:TypeScript 47.5%