agutoli / serverless-layers

Serverless.js plugin implementing AWS Lambda Layers, reducing lambda size, warm-up, and deployment time.
MIT License
229 stars 54 forks source link

Expose before and after hooks by using commands #132

Open Rayyan98 opened 1 year ago

Rayyan98 commented 1 year ago

Feature Request

Can we use commands and life cycles as described here so that a user is able to use the before hook to perform some action just before this plugin executes. The action in my case would be to create the layer deployment bucket if does not exists through a hook.

Or is there any specific reason not to do this