Skip to content

Configuration error at 'functions[function-name]' unrecognized property 'deadLetter' #46

@jordanmaxfightcamp

Description

@jordanmaxfightcamp

Receiving this error after trying to use this plugin:

 Serverless Error ----------------------------------------
 
  Configuration error at 'functions['sessions-stream-listener']': unrecognized property 'deadLetter'
 
  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com
 
  Your Environment Information ---------------------------
     Operating System:          darwin
     Node Version:              14.17.0
     Framework Version:         2.46.0 (local)
     Plugin Version:            5.3.0
     SDK Version:               4.2.3
     Components Version:        3.12.0

here is my code:

plugins:
  - serverless-plugin-lambda-dead-letter

functions:
  foo:
    handler: handler.foo

    deadLetter:
      sqs: ${self:custom.foo}
    events:
      - stream:
          type: dynamodb
          arn: ${self:custom.foo}}

Any suggestions? not sure what im doing wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions