My highly opinionated AWS Lambda template.
When you clone this repo to build your own lambda service, please make these adjustments to your serverless.yml
:
- Change
domain
to something that makes sense - Change
service
to a name that you will not change soon
The IAM role for the provider allows all the functions in this service to access Secret Manager secrets that are tagged with Service:YourServiceName
.
However, in wrapper.ts
you'll have to add each secret if you don't use a single JSON secret for all functions!