Skip to content

Commit

Permalink
feat: update edge lambda from node 18 to 20 (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
bestickley authored Dec 8, 2023
1 parent 1dd7828 commit f04836c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NextjsDistribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export class NextjsDistribution extends Construct {
private createEdgeLambda(): cloudfront.EdgeLambda {
const signFnUrlDir = path.resolve(__dirname, '..', 'assets', 'lambdas', 'sign-fn-url');
const originRequestEdgeFn = new cloudfront.experimental.EdgeFunction(this, 'EdgeFn', {
runtime: Runtime.NODEJS_18_X,
runtime: Runtime.NODEJS_20_X,
handler: 'index.handler',
code: lambda.Code.fromAsset(signFnUrlDir),
currentVersionOptions: {
Expand Down

0 comments on commit f04836c

Please sign in to comment.