Hi,
I have this directory structure for my lambda files-
Servicedir/
funcA/
lambda_function.py
funcB/
lambda_function.py
serverless.yml
service: Service
frameworkVersion: '2'
configValidationMode: off
functions:
funcA:
handler: funcA/lambda_function.lambda_handler
name: funcA_${self:provider.stage}
package:
individually: true
patterns:
- '!**/*'
- '!serverless.yml'
- 'funcA/lambda_function.py'
funcB:
handler: funcB/lambda_function.lambda_handler
name: funcB_${self:provider.stage}
package:
individually: true
patterns:
- '!**/*'
- '!serverless.yml'
- 'funcB/lambda_function.py'
When this is deployed to AWS for dev and funcA for example, I get below directory structure which is very odd-
funcA_dev/
funcA/
lambda_function.py
Which is not what I want. How do I get just the directory structure without funcA_dev as root directory?
Thanks,
Nithin