Skip to content

Commit

Permalink
upgrade java version
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddenton committed Mar 8, 2024
1 parent d245819 commit 50269dd
Show file tree
Hide file tree
Showing 5 changed files with 1,578 additions and 444 deletions.
2 changes: 1 addition & 1 deletion aws-lambda-events/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const lambdaFunction = new aws.lambda.Function("http4k-example-events-lambda", {
code: new pulumi.asset.FileArchive("build/distributions/http4k-aws-lambda-example-events-1.0-SNAPSHOT.zip"),
handler: "org.http4k.example.EventFunction",
role: defaultRole.arn,
runtime: "java11",
runtime: "java21",
timeout: 15
});

Expand Down
2 changes: 1 addition & 1 deletion aws-lambda-http/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const lambdaFunction = new aws.lambda.Function("http4k-example-lambda", {
code: new pulumi.asset.FileArchive("build/distributions/http4k-aws-lambda-example-http-1.0-SNAPSHOT.zip"),
handler: "org.http4k.example.MyHttp4kFunction",
role: defaultRole.arn,
runtime: "java11",
runtime: "java21",
timeout: 15
});

Expand Down
Loading

0 comments on commit 50269dd

Please sign in to comment.