mooyoul / serverless-latest-layer-version

A serverless plugin that replaces 'latest' version tag to actual lambda layer version
MIT License
25 stars 9 forks source link

Update index.js #1

Closed falaa closed 5 years ago

falaa commented 5 years ago

Hi Mooyoul, Great plugin, thank you for sharing it. Resources are optional and don't have to be necessary in serverless.yml. In the current version, plugin throws an error: Cannot read property 'Resources' of undefined
Would you consider changing that? I don' know if it is the best possible patch, but work for me.

Thanks

mooyoul commented 5 years ago

Released v1.0.3 and Published to NPM. Thanks again! 🍻