How to deploy 4 lambdas in typescript using a code pipeline ?

0

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 ?

1개 답변
0

Hello,

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.

Regards.

Joan_B
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠