forked from makenew/benthos-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathserverless.yml
More file actions
41 lines (35 loc) · 843 Bytes
/
serverless.yml
File metadata and controls
41 lines (35 loc) · 843 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
38
39
40
41
---
service: benthos-plugin
frameworkVersion: '^3.17.0'
configValidationMode: error
provider:
name: aws
deploymentMethod: direct
architecture: ${self:custom.architecture.${self:custom.platform}}
runtime: provided.al2
region: ${env:AWS_DEFAULT_REGION, 'us-east-1'}
stage: stg
logRetentionInDays: 30
httpApi:
payload: '2.0'
disableDefaultEndpoint: true
apiGateway:
shouldStartNameWithService: true
deploymentBucket:
blockPublicAccess: true
environment:
LOG_LEVEL: ${env:LOG_LEVEL, 'info'}
LOG_VERSION: ${file(./package.json):version}
custom:
platform: ${file(./package.json):blobpack.platform}
architecture:
linux_amd64: x86_64
linux_arm64: arm64
package:
individually: true
functions:
todo:
url: true
handler: benthos-lambda
package:
artifact: dist/todo.zip