How to deploy 4 lambdas in typescript using a code pipeline ?
My customer is looking to deploy the app infra via a code pipeline which has the source, lint, compile, build, package and deploy stages. The lambda is in typescript and there are 4 lambdas which should be deployed for this app. Is there a need to have a different codepipeline for each lambda deployment or can I deploy all the lambdas in a single code pipeline. If there is a single pipeline, how will the app code linting, building, compiling and packaging happen for all the 4 lambdas ? Is it going to be in parallel? If yes, then would there 4 parallel runs of lint, compile and so on. Is there any reference architecture ?
You can use AWS SAM to deploy an application which could include 1 or more Lambda functions. With AWS SAM, you can deploy multiple functions in the same application easily.
Here you can find more information on who to build and deploy resources using AWS CodePipeline with AWS SAM.
But we highly recommend to analyze if those functions must be deployed in 1 or multiple pipelines following the Well Architected Framework.
how to automatically deploy a code to ecs in AWS pipelineasked 5 months ago
Cross account ecs fargate blue/green deploy from code pipelineasked 6 months ago
continuous integration with awsAccepted Answerasked 3 years ago
Steps for deploying code on IISasked 5 months ago
Cdk deploy in pipeline example?asked 2 months ago
Action execution failed InternalError. Error reference code: a7866898-c8b7-4ebb-bd1a-83eab7bdc8f6. code pipeline to deploy to S3asked a month ago
How to deploy 4 lambdas in typescript using a code pipeline ?asked 2 months ago
Code pipeline - automate testing - postman/newmanAccepted Answerasked 2 years ago
How to use AWS CDK to compile and deploy a typescript api with dependencies to lambda?asked 4 months ago
Action execution failed InternalErrorasked 3 years ago