serverless-next.js
serverless-next.js copied to clipboard
Deprecating aws-cdk-lib.aws_lambda.Version#addAlias in nextjs-cdk-construct
Is your feature request related to a problem? Please describe.
Seeing the following message when npm run cdk diff and getting different hash keys for S3ObjectKey, LambdaFunctionARN, .S3Key despite no change of code. They seem to be related.
[WARNING] aws-cdk-lib.aws_lambda.Version#addAlias is deprecated.
Calling `addAlias` on a `Version` object will cause the Alias to be replaced on every function update. Call `function.addAlias()` or `new Alias()` instead.
This API will be removed in the next major release.
[WARNING] aws-cdk-lib.aws_lambda.Version#addAlias is deprecated.
Calling `addAlias` on a `Version` object will cause the Alias to be replaced on every function update. Call `function.addAlias()` or `new Alias()` instead.
This API will be removed in the next major release.
this might cause the issue that updating lambda aliases breaks website for a short duration.
I see it happen very often
can anyone merge the PR?
anyone can take care of this?