Skip to content

Commit

Permalink
feat: update lambda runtime to nodejs v16 (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
stekern authored Oct 31, 2022
1 parent ecdde9f commit eb16e70
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
42 changes: 21 additions & 21 deletions src/__snapshots__/index.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/generate-secret.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class GenerateSecretProvider extends Construct {
path.join(__dirname, "../dist/generate-secret"),
),
handler: "index.handler",
runtime: lambda.Runtime.NODEJS_12_X,
runtime: lambda.Runtime.NODEJS_16_X,
}),
})

Expand Down
2 changes: 1 addition & 1 deletion src/lambdas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class AuthLambdas extends Construct {
? lambda.Code.fromInline("snapshot-value")
: lambda.Code.fromAsset(path.join(__dirname, `../dist/${assetName}`)),
handler: "index.handler",
runtime: lambda.Runtime.NODEJS_12_X,
runtime: lambda.Runtime.NODEJS_16_X,
timeout: Duration.seconds(5),
role,
description:
Expand Down

0 comments on commit eb16e70

Please sign in to comment.