-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathserverless.yml
More file actions
37 lines (33 loc) · 798 Bytes
/
serverless.yml
File metadata and controls
37 lines (33 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
app: github-action-demo
service: simple-rest-service
frameworkVersion: '3'
provider:
name: aws
runtime: nodejs14.x
stage: ${opt:stage, 'development'}
stackName: ${self:service}-${self:provider.stage}
apiName: ${self:service}-${self:provider.stage}
region: ${env:AWS_REGION, 'us-west-2'}
memorySize: 128
timeout: 30
deploymentBucket:
name: simple-rest-service-${self:provider.stage}
serverSideEncryption: AES256
blockPublicAccess: true
environment:
LOG_LEVEL: debug
# you can add packaging information here
package:
exclude:
- tests/**
plugins:
- serverless-deployment-bucket
- serverless-plugin-typescript
- serverless-offline
functions:
trigger:
handler: index.handler
events:
- http:
path: hello
method: get