1 Answer
- Newest
- Most votes
- Most comments
1
Perhaps you should consider if all of the lambda functions belong to the same solution/workload, if the answer is yes then the infrastructure (CDK) and lambda functions should be deployed together, if on the other hand you can your code to different individual workloads which can be deployed individually than you should consider multiple repositories. In my opinion all resources that are used to trigger or used by a lambda functions should be deployed along with that function, so that if you make a change to your infrastructure that would also effect your lambda code (for example replacing SNS with SQS) than the code of the lambda should be "synchronized" and deployed with the right version of your infrastrucutre
answered 2 years ago
Relevant content
- asked 8 months ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago