chalice icon indicating copy to clipboard operation
chalice copied to clipboard

Allow package and deploy hooks

Open kislyuk opened this issue 8 years ago • 2 comments

It might be nice to allow custom actions to be specified to be run at package time (to write files into the package) or deploy time (to configure resources once the api gateway id is determined, etc.)

kislyuk avatar Mar 21 '18 18:03 kislyuk

I would love this as well. New deployer is coming out soon so that would be a good time to think about how to integrate something like this. Currently I write wrapper scripts around chalice deploy which do things before and after, but this isn't ideal and can't be used to affect the contents of the bundle itself.

stealthycoin avatar Apr 02 '18 20:04 stealthycoin

In my case I have a third party Lambda Layer added to my lambda functions. After every chalice deploy I have to re-add the Layer to all my Lambda functions.

Would be great if there would be an after_deploy where I could trigger a script that adds the third party layer automatically.

antonpirker avatar Apr 21 '22 13:04 antonpirker