silvermine / serverless-plugin-cloudfront-lambda-edge

Adds Lambda@Edge support to Serverless
MIT License
296 stars 41 forks source link

Missing JSON Schema results in "unrecognized property" warning #62

Closed velovix closed 3 years ago

velovix commented 3 years ago

When I run a deployment using this plugin, I get the following warning:

Serverless: Configuration warning at 'functions.defaultDirectoryIndex': unrecognized property 'lambdaAtEdge'
Serverless:  
Serverless: Learn more about configuration validation here: http://slss.io/configuration-validation

According to this page, the way to avoid this warning is to add a JSON Schema to the plugin instructing Serverless' validation logic to expect this new field.

de1mat commented 3 years ago

Thanks for the fix, looking forward to new release