You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Serverless: Configuration warning at 'functions.example.environment.EXAMPLE['Fn::Join'][0]': should NOT be shorter than 1 characters
Serverless:
Serverless: Learn more about configuration validation here: http://slss.io/configuration-validation
Serverless:
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless Error ---------------------------------------
No file matches include / exclude patterns
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
Operating System: darwin
Node Version: 14.7.0
Framework Version: 2.4.0
Plugin Version: 4.0.4
SDK Version: 2.3.2
Components Version: 3.2.1
The schema validation for
Fn::Join
seems incorrect. It is perfectly valid for the delimiter string forFn::Join
to be the empty string.(link)
Yet the tool complains when validating:
This is because the schema says that the minimum length for the delimiter parameter is 1:
serverless/lib/plugins/aws/provider/awsProvider.js
Line 262 in 7e4871b
serverless.yml
sls package --verbose
outputInstalled version
Suggested fix: remove the
minLength: 1
for the first parameter toFn::Join
.The text was updated successfully, but these errors were encountered: