Closed stevecaldwell77 closed 5 years ago
@stevecaldwell77 Thanks for the bug report.
Do you have any package or function related exclude
or include
directives? Can you prrovide a serverless.yml
that reproduces the problem?
Reading the serverless-plugin-warmup docs here: https://github.com/FidelLimited/serverless-plugin-warmup
It looks like the plugin excludes all files other than it's own by default:
package (default package: { individually: true, exclude: ['**'], include: ['_warmup/**'] })
Try a setting like this:
package: { individually: true, exclude: ['**'], include: ['_warmup/**', 'iopipe_wrapper.js'] }
Let me know if that fixes it for you. Will create an issue to set include
automatically in this case.
@kolanos - that got it to work, thank you so much!
@stevecaldwell77 We just released v0.2.0. This version should no longer require you to override serverless-plugin-warmup's package
config.
@stevecaldwell77 We just released v0.2.0. This version should no longer require you to override serverless-plugin-warmup's
package
config.
@kolanos - works perfectly, thanks!
When I include
serverless-plugin-warmup
in my list of plugins along withserverless-iopipe-layers
, an extra lambda function is created by the warmup plugin that then fails with: