Farad
Farad

Reputation: 1065

Why serverless-next.js doesn't create lambda?

I have created simple next.js app and used this library for deploy it with s3, cloudfront and lambdas. articles/[articleId].tsx file has getServerSideProps function, so I need lambda to render this page. I run 'serverless', it deployed and IT WORKS. But I don't see any lambda function in aws console.

So, how it works then?..

Upvotes: 0

Views: 580

Answers (1)

Marcin
Marcin

Reputation: 238617

From their readme it seems that they are using lambda@edge.

So its likely your lambda functions will be also lambda@edge and these are in us-east-1 (N. Virginia) region. Thus you should switch your console to the us-east-1 region and look for the functions there.

Upvotes: 1

Related Questions