You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have the following config which adds all python code also into the warmUpPluginOfficeHoursWarmer.zip. I tried various variations to exclude the files and the only thing that worked is setting package.individually to true or moving the package block into the function. Moving the package block into the function does not apply the patterns though and we will end up with a large zip file.
Imo package.patterns should not be joined to package the warmer function.
Cascading the package settings (i.e. joining the patterns set at package level to the ones set at the function) is the behaviour of the Serverless framework.
You can also exclude the packages from the warmer config:
We have the following config which adds all python code also into the
warmUpPluginOfficeHoursWarmer.zip
. I tried various variations to exclude the files and the only thing that worked is settingpackage.individually
totrue
or moving the package block into the function. Moving the package block into the function does not apply the patterns though and we will end up with a large zip file.Imo
package.patterns
should not be joined to package the warmer function.What worked:
The text was updated successfully, but these errors were encountered: