curl https://codeload.github.com/prisma/prisma-examples/tar.gz/latest | tar -xz --strip=2 prisma-examples-latest/deployment-platforms/aws-lambda
cd aws-lambda
Serverless deployment steps:
Set DATABASE_URL in the .env file to connect to a target database.
Create the db schema (CREATE entries in schema.sql)
Run prisma commands
prisma db pull - creates the Prisma schema based on the db