Last active
January 26, 2020 16:19
-
-
Save sandalsoft/82c3ce8c81e901fc3f10858afd68c225 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: | |
name: __FUNCTION_NAME__ | |
plugins: | |
- serverless-plugin-typescript | |
- serverless-plugin-offline | |
provider: | |
name: aws | |
stage: ${opt:stage, 'dev'} | |
runtime: nodejs12.x | |
apiKeys: | |
- ${opt:stage}_APIKey_${self:service.name} | |
functions: | |
__FUNCTION_NAME__: | |
handler: src/handler.${self:service.name} | |
events: | |
- http: | |
method: get | |
path: ${self:service.name} | |
cors: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment