-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration error at 'functions.hello': unrecognized property 'custom' #8422
Comments
Hi @tolgatakir , thanks for reporting this issue. Function definition schema validation has been enforced from v2.7.0. serverless/lib/plugins/aws/provider/awsProvider.js Lines 776 to 845 in 2d6824c
As of today, you can add in I see the use of @medikoo, in order for the plugin team to be able to add the |
Yes, we definitely can provide PR that brings that is definitely welcome! |
I could give this a try if you think this is a good first issue and with some initial orientation. I'm also interested in this improvement. |
@luislhl that'll be very welcome! Technically it's about implementation of Additionally we should ensure it's documented here: https://github.com/serverless/serverless/blob/989bd664699860f130c2172335a185b336fe04a6/docs/providers/aws/guide/plugins.md#extending-validation-schema |
Great! Thanks for the introduction. I'll dive deeper into this then, probably this weekend, and hope to bring some updates soon. |
I have opened a PR on this, waiting for review: #8462 |
In serverless v2.7.0 schema validation of the serverless.yml has been implemented (see serverless/serverless#8422 (comment)) Based on this you can trigger errors when parameters are referenced which do not exist. This plugin relies on some custom properties in the serverless.yml which caused warnings. This commit appends the JSON schema as described in the README.md of this plugin
In serverless v2.7.0 schema validation of the serverless.yml has been implemented (see serverless/serverless#8422 (comment)) Based on this you can trigger errors when parameters are referenced which do not exist. This plugin relies on some custom properties in the serverless.yml which caused warnings. This commit appends the JSON schema as described in the README.md of this plugin
After serverless framework 2.6.0 version, not able to giving custom properties during function definition. 97b7a48 this change may have caused the problem.
serverless.yml
sls deploy
outputInstalled version
The text was updated successfully, but these errors were encountered: