https://serverless-stack.com/ logo
#sst
Title
# sst
d

Dan Suceava

03/11/2022, 5:14 PM
I'm using a
NextjsSite
and I just upgraded from sst
0.60.4
to
0.69.0
and now I'm getting an error deploying (no changes to the stack):
Copy code
| UPDATE_FAILED | Custom::SSTEdgeLambda | siteApiEdgeLambdaF3190F0F | Received response status [FAILED] from custom resource. Message returned: Missing required key 'FunctionName' in params
and I'm not quite sure where that's coming from Also is there a way to disable the Lambda@Edge functions if we don't use SSR?
I reverted to
0.60.4
and was able to successfully upgrade to
0.61.3
and then
0.62.0
but going to
0.63.0
breaks it, which makes sense since 0.63.0 has the major changes to NextjsSite
what makes it worse is that the stack ends up in
UPDATE_ROLLBACK_FAILED
status and I cannot update it, so I have to delete it and recreate it
d

Derek Kershner

03/11/2022, 10:03 PM
If you would like a simpler Nextjs construct, you can vote for it here: (new) NextjsStaticSite? · Issue #1519 · serverless-stack/serverless-stack (github.com)
f

Frank

03/16/2022, 11:27 PM
@Dan Suceava sorry about the delayed follow up. If you are still having the issue, can you run
sst deploy
using
0.62.0
, update to
0.63.0
, and then run
sst diff
. That should tell us what has changed.
d

Dan Suceava

03/17/2022, 12:57 AM
@Frank no worries, thanks for the response. Still having the issue, I will try the above and report back once I do
OK, was able to run that and I'm seeing a few changes which on the surface look like resource name changes ... I'm not sure what the best way to post that info is
f

Frank

03/22/2022, 6:06 AM
Hey @Dan Suceava you can save the diff to a file and upload it to this thread or DM me if there are confidential info in there. Also it’d be helpful if you could go into ur AWS CloudWatch console and look for the log group with
EdgeLambdaVersionProvider
in its name, and send me the log from the failed deploy.