Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Plugin still throws when a config variable is undefined and a fallback value is provided.  #37

@DToppingWW

Description

@DToppingWW

Affects:
serverless-service-config-plugin@1.0.5 - serverless-service-config-plugin@1.1.3
serverless@3.38.0

Replication steps:

  • In a serverless.yml change a consul variable to a path that doesn't exist in consul.
  • sls package

Expect an error

  • Amend this line so that there is a fallback value
  • sls package

Unexpected error (same problem as before), the fallback is not used.

Screenshot 2024-07-15 at 11 36 42
Screenshot 2024-07-15 at 11 36 58

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions