ACloudGuru / serverless-plugin-cloudwatch-sumologic

Plugin which auto-subscribes a log delivery lambda function to lambda log groups created by serverless
MIT License
12 stars 15 forks source link

Allow for any customization of function. #11

Closed jacob-meacham closed 6 years ago

jacob-meacham commented 7 years ago

In #9, I allowed for customization of the role only. After playing around with our stack some more, I decided it would be nice to be able to modify other pieces of the function definition - namely name, description, and memorySize. I redid this functionality in a way that should be forwards-compatible with any new function definition enhancements Serverless provides in the future.

This is a breaking change, as I removed customRole.

Tested against Serverless 1.9.0 and 1.10.0