- Create a layer function with amplify
- Go to the newly created layer's directory and delete everything inside
- Clone this repo inside that directory
- Execute
setup.sh <my-package>
with your package name - To automatically build your layer before it is pushed to AWS:
- Go to your amplify root directory
- Create a package.json (if absent)
- under
scripts
add the following entry:"amplify:your-layer-name": "cd ./amplify/backend/function/your-layer-name && npm run build && cd -",
-
Notifications
You must be signed in to change notification settings - Fork 0
mntm/amplify-lambda-layer-ts-template
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Packages 0
No packages published