Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/envek/cookiecutter-aws-sam-typescript-layers

AWS SAM template to quickly set up Lambda application using TypeScript on Node.js 14 with shared layers for dependencies
https://github.com/envek/cookiecutter-aws-sam-typescript-layers

aws-lambda aws-lambda-node aws-sam cookiecutter lambda-layer typescript

Last synced: 11 days ago
JSON representation

AWS SAM template to quickly set up Lambda application using TypeScript on Node.js 14 with shared layers for dependencies

Awesome Lists containing this project

README

        

# Template for AWS SAM using TypeScript and shared layers

This is a [Cookiecutter](https://github.com/audreyr/cookiecutter) template to create a Serverless application based on [Serverless Application Model (SAM)](https://aws.amazon.com/serverless/sam/) on Node.js 14 runtime using TypeScript for Lambda functions source code and shared layers for runtime dependencies.

Resulted application will be close to this example app: [aws-sam-typescript-layers-example](https://github.com/Envek/aws-sam-typescript-layers-example/)

## Usage

[Install AWS SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html) and run following command:

```sh
sam init --location gh:Envek/cookiecutter-aws-sam-typescript-layers
```

You'll be prompted a few questions to help this template to scaffold this project and after its completion you should see a new folder at your current path with the name of the project you gave as input.

## License

This project is licensed under the terms of the [MIT license](https://opensource.org/licenses/MIT).