https://github.com/wolfeidau/serverless-benthos
This serverless application provides enables deployment of benthos to AWS Lambda using the Serverless Application Repository.
https://github.com/wolfeidau/serverless-benthos
aws benthos golang serverless
Last synced: 3 months ago
JSON representation
This serverless application provides enables deployment of benthos to AWS Lambda using the Serverless Application Repository.
- Host: GitHub
- URL: https://github.com/wolfeidau/serverless-benthos
- Owner: wolfeidau
- License: mit
- Created: 2021-09-06T18:11:22.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-21T09:18:40.000Z (over 4 years ago)
- Last Synced: 2025-01-19T06:28:58.818Z (about 1 year ago)
- Topics: aws, benthos, golang, serverless
- Language: Makefile
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# serverless-benthos
This serverless application provides enables deployment of [benthos](https://github.com/Jeffail/benthos) to [AWS Lambda](https://aws.amazon.com/lambda/) using the [Serverless Application Repository](https://aws.amazon.com/serverless/serverlessrepo/). This removes the need to manage uploads to [S3](https://aws.amazon.com/s3/) for deployment of benthos using [cloudformation](https://aws.amazon.com/cloudformation/) which makes it easier to use this engine throughout your applications.
# Usage
```yaml
AWSTemplateFormatVersion: '2010-09-09'
Transform: 'AWS::Serverless-2016-10-31'
Description: >-
This template demonstrates how to use the serverless-benthos application.
Parameters:
BenthosConfig:
Type: String
Description: >
A YAML configuration for the Benthos pipeline, can include any traditional
sections except for input or buffer.
Default: |
pipeline:
processors:
- type: metadata
metadata:
operator: set
key: AWS_LAMBDA_FUNCTION_VERSION
value: "${AWS_LAMBDA_FUNCTION_VERSION}"
Resources:
ServerlessBenthos:
Type: 'AWS::Serverless::Application'
Properties:
Location:
ApplicationId: arn:aws:serverlessrepo:us-east-1:170889777468:applications/serverless-benthos
SemanticVersion: 3.55.0
Parameters:
BenthosConfig: !Ref BenthosConfig
Outputs:
BenthosFunctionArn:
Description: "Benthos Lambda Function ARN"
Value: !GetAtt ServerlessBenthos.Outputs.FunctionArn
```
# License
This application is released under MIT license and is copyright Mark Wolfe.