I am trying to build different api packages using the same code base. my code structure is as follows
- package1 // for only function 1 and 2
- package2 // for only function 2 and 3
- fullpackage // for all function
function yml contains only single lambda related configuration and serverless.yml combines the function configs using file includes
the problem I am facing is when I run serverless deply from package directories it not picking the source directory. it only picks the code directory only when serverless.yml is at root and serverless deploy is run from project root.
how can i pass code path dynamically on deployment