2023.05.10(sprint - API Gateway와 서버리스 애플리케이션)
댓글수 · 2023.05.11
Step 1: API Gateway - Lambda 배포 Instruction 먼저 lambda 함수와 API Gateway 세팅을 한꺼번에 할 수 있게 SAM을 이용한다https://serverlessland.com/patterns/lambda-dynamodb Serverless Land Your resource for learning serverless technology. serverlessland.com 현재 람다가 런타임 nodejs 14.x을 지원하므로 template.yaml 파일에서 Runtime 부분을 찾아 다음과 같이 바꾼다. 1 - Runtime: nodejs12.x 2 + Runtime: nodejs14.x 사용자 컴퓨터에 node.js 런타임을 설치한다. sam build를 통해 ..