aws: add note on lambda dir structure
This commit is contained in:
parent
aa63c0b1bb
commit
88ea884f4f
1 changed files with 24 additions and 0 deletions
24
DevOps/AWS/AWS_Lambda/Lambda_directory_structure.md
Normal file
24
DevOps/AWS/AWS_Lambda/Lambda_directory_structure.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
---
|
||||||
|
categories:
|
||||||
|
- DevOps
|
||||||
|
- Backend
|
||||||
|
tags: [AWS]
|
||||||
|
---
|
||||||
|
|
||||||
|
# Lambda directory structure
|
||||||
|
|
||||||
|
I am using the following structure for my lambdas:
|
||||||
|
|
||||||
|
```
|
||||||
|
lambda-name/
|
||||||
|
events/
|
||||||
|
function-name/
|
||||||
|
src/
|
||||||
|
index.js
|
||||||
|
tests/
|
||||||
|
local-env.json
|
||||||
|
production-env.json
|
||||||
|
package.json
|
||||||
|
template.yaml
|
||||||
|
README.md
|
||||||
|
```
|
Loading…
Add table
Reference in a new issue