ACloudGuru / serverless-plugin-aws-alerts

A Serverless Framework plugin that creates CloudWatch alarms for functions.
MIT License
531 stars 151 forks source link

serverless.configSchemaHandler.defineFunctionProperties is not a function #173

Closed R11baka closed 3 years ago

R11baka commented 3 years ago

Can't deploy lambda on aws

When run sls deploy I got an error with message TypeError: serverless.configSchemaHandler.defineFunctionProperties is not a function at new AlertsPlugin (/builds/lambda/api-partner-management/node_modules/serverless-plugin-aws-alerts/src/index.js:15:36)

Additional Data

Filmhooligan commented 3 years ago

I'm also having this issue, pinning to the last plugin version 1.6.1 allowed serverless deploys to go through again. https://github.com/ACloudGuru/serverless-plugin-aws-alerts/commit/9c6421815eb416bd150c4cca8b4a8e03b269766c#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 @R11baka