serverless create --template aws-nodejs

Jmnote (토론 | 기여)님의 2024년 5월 15일 (수) 09:55 판 (→‎개요)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요[ | ]

serverless create --template aws-nodejs
root@wsl:~/ws/hello1# cat package.json 
{
  "name": "hello1",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC"
}
root@wsl:~/ws/hello1# serverless create --template aws-nodejs 

✔ Project successfully created in "./" from "aws-nodejs" template (3s)

Please update the "service" property in serverless.yml with your service name
root@wsl:~/ws/hello1# cat serverless.yml | grep '^[a-z ]'
service: gpt1
frameworkVersion: "3"
provider:
  name: aws
  runtime: nodejs18.x
functions:
  hello:
    handler: handler.hello

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}