Replies: 1 comment 1 reply
-
Hey @0aprl1, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello All
SETUP
ISSUE
configuration.yml is a file I use to set
custom
properties in serverless.yml, where I define the following noDeploy as a consequence of installing some required library that have unused sub-dependencies:I have several lambdas which use the above default pythonRequirements definition. For one particular lambda I have defined, I am attempting the following:
Basically for this function, I try to override pythonRequirements at function definition level - the two noDeploy differ in the second not having listed
When I run
sls package --region eu-west-1 --stage stg
, I am able to package all functions correctly, except for the one defined abovetest-service
, whose zip is excluding everything (11 modules in total) as per the default pythonRequirements, while I would have expected it to exclude only the ones defined at function level (6 in total).So my question is whether what I am attempting is allowed or not, or if I might have misconfigured something.
Thanks in advance for the support.
Beta Was this translation helpful? Give feedback.
All reactions