Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serverless configuration validation warning #42

Open
greenlynx opened this issue Nov 19, 2020 · 2 comments
Open

Serverless configuration validation warning #42

greenlynx opened this issue Nov 19, 2020 · 2 comments

Comments

@greenlynx
Copy link

Serverless is throwing a warning when it validates its configuration before deployment:

Serverless: Configuration warning at 'functions.foo': unrecognized property 'deadLetter'

Excerpt from serverless.yml:

functions:
  foo:
    handler: src/handlers/events/foo.bar
    deadLetter:
      targetArn:
        GetResourceArn: DeadLetterQueue

According to the documentation for Service configuration validation:

If you received a configuration warning it could mean that:

  • Configuration related to external plugin does not have an associated JSON Schema. In such cases, please report the issue with the plugin author and provide them the details on how to extend validation schema in order to permanently correct the issue.

The same documentation page says that this warning is likely to become an error in future, which would break this plugin.

@codezninja
Copy link

codezninja commented Apr 12, 2021

@greenlynx does this method break for you? I see in method-1 where I have this plugin create the sqs queue with serverless 2.35. It creates the queue fine, but doesn't link the sqs queue the lambda as a dlq

@FrazerBayley
Copy link

FrazerBayley commented Apr 23, 2021

Looks like the pattern for DLQ setup has been changed both in AWS and subsequently Serverless. See: https://www.serverless.com/blog/lambda-destinations

I think using this plugin is pretty much unsupported now. @bondezbond @greenlynx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants