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.
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