Skip to content

Serverless configuration validation warning #42

Description

@greenlynx

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.

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