Skip to content

Serverless: Deprecation warnings #99

Open
@kassemz

Description

@kassemz

Getting these Deprecation warnings when deploying:

"service" is not accessible (configured behind variables which cannot be resolved at this stage).
Starting with next major release, this will be communicated with a thrown error.
Set "variablesResolutionMode: 20210326" in your service config, to adapt to this behavior now
More Info: https://www.serverless.com/framework/docs/deprecations/#NEW_VARIABLES_RESOLVER

Detected unrecognized CLI options: "--settings".
Starting with the next major, Serverless Framework will report them with a thrown error
More Info: https://www.serverless.com/framework/docs/deprecations/#UNSUPPORTED_CLI_OPTIONS

Support for "package.include" and "package.exclude" will be removed with next major release. Please use "package.patterns" instead
More Info: https://www.serverless.com/framework/docs/deprecations/#NEW_PACKAGE_PATTERNS

Resolution of lambda version hashes was improved with better algorithm, which will be used in next major release.
Switch to it now by setting "provider.lambdaHashingVersion" to "20201221"
More Info: https://www.serverless.com/framework/docs/deprecations/#LAMBDA_HASHING_VERSION_V2
  Your Environment Information ---------------------------
     Operating System:          win32
     Node Version:              12.18.3
     Framework Version:         2.51.2
     Plugin Version:            5.4.3
     SDK Version:               4.2.4
     Components Version:        3.13.4

Also deployment freezes when specifying a custom domain.

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