Skip to content

Lack of "type" property on CLI options #48

@EnzoMolion

Description

@EnzoMolion

When running sls deploy with

plugins:
  - serverless-puresec-cli

in serverless.yml, I get the following warning:

Deprecation warning: CLI options definitions were upgraded with "type" property (which could be one of "string", "boolean", "multiple"). Below listed plugins do not predefine type for introduced options:
             - PureSecCLI for "function", "overwrite", "no-overwrite", "reference", "no-reference", "remove-obsolete", "no-remove-obsolete", "yes"
            Please report this issue in plugin issue tracker.
            Starting with next major release, this will be communicated with a thrown error.
            More Info: https://www.serverless.com/framework/docs/deprecations/#CLI_OPTIONS_SCHEMA

From what I understand, this will become blocking (error throwing) in next major release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions