Adds a new custom flag to signal that the serverless.yml is nested in a cargo workspace. Since the binaries will be outputted to a target folder in the workspace root, the zip-copy-process needs to take that into account.
Not sure if this is the most appropriate change; however, it solved my problem.
I want to be able to separate the lambda-projects to isolate different dependencies etc.
What did you implement:
Adds a new custom flag to signal that the serverless.yml is nested in a cargo workspace. Since the binaries will be outputted to a target folder in the workspace root, the zip-copy-process needs to take that into account.
Not sure if this is the most appropriate change; however, it solved my problem.
How did you verify your change:
Deployed multiple stacks from the workspace root to AWS using serverless components.