Skip to content

This serverless application provides enables deployment of benthos to AWS Lambda using the Serverless Application Repository.

License

Notifications You must be signed in to change notification settings

wolfeidau/serverless-benthos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless-benthos

This serverless application provides enables deployment of benthos to AWS Lambda using the Serverless Application Repository. This removes the need to manage uploads to S3 for deployment of benthos using cloudformation which makes it easier to use this engine throughout your applications.

Usage

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.

About

This serverless application provides enables deployment of benthos to AWS Lambda using the Serverless Application Repository.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published