diff --git a/index.js b/index.js index a61ca8fb..f2af9acf 100644 --- a/index.js +++ b/index.js @@ -116,6 +116,12 @@ class ServerlessPythonRequirements { this.servicePath = this.serverless.config.servicePath; this.warningLogged = false; + this.serverless.configSchemaHandler.defineFunctionProperties('aws', { + properties: { + module: {type: 'string'}, + }, + }); + this.commands = { requirements: { usage: 'Serverless plugin to bundle Python packages',