Last active
October 20, 2021 10:29
-
-
Save velotiotech/e34ebddcbe980032c13a9967410f4f04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: websocket-app | |
frameworkVersion: '2' | |
custom: | |
dynamodb: | |
stages: | |
- dev | |
start: | |
port: 8000 | |
inMemory: true | |
heapInitial: 200m | |
heapMax: 1g | |
migrate: true | |
convertEmptyValues: true | |
webpack: | |
keepOutputDirectory: true | |
packager: 'npm' | |
includeModules: | |
forceExclude: | |
- aws-sdk | |
provider: | |
name: aws | |
runtime: nodejs12.x | |
lambdaHashingVersion: 20201221 | |
plugins: | |
- serverless-dynamodb-local | |
- serverless-plugin-existing-s3 | |
- serverless-dotenv-plugin | |
- serverless-webpack | |
- serverless-offline | |
resources: | |
- Resources: ${file(./config/dynamoDB.yaml)} | |
- Resources: ${file(./config/lambdaRoles.yaml)} | |
functions: | |
hello: | |
handler: handler.hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment