Serverless 3.0.0 deprecation warning: option type requirement
Closed this issue · 1 comments
bebbi commented
The following warning is triggered:
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:
- ServerlessS3Local for "port", "directory", "buckets", "cors", "noStart", "allowMismatchedSignatures", "website", "serviceEndpoint", "httpsProtocol", "vhostBuckets"
Fix: Every option should simply be given a type
of value string
, boolean
, multiple
:
https://www.serverless.com/framework/docs/providers/aws/guide/plugins#defining-options