Skip to content

Commit 44b98a0

Browse files
committed
Update Node pattern versions to latest
1 parent 0df038a commit 44b98a0

File tree

140 files changed

+174
-169
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+174
-169
lines changed

alb-lambda-pulumi-cs/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797

9898
var fn = new Aws.Lambda.Function("fn", new()
9999
{
100-
Runtime = "nodejs18.x",
100+
Runtime = "nodejs24.x",
101101
Handler = "index.handler",
102102
Role = lambdaRole.Arn,
103103
Code = new FileArchive("./lambda"),

alb-lambda-pulumi-go/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func main() {
100100
return err
101101
}
102102
fn, err := lambda.NewFunction(ctx, "fn", &lambda.FunctionArgs{
103-
Runtime: pulumi.String("nodejs18.x"),
103+
Runtime: pulumi.String("nodejs24.x"),
104104
Handler: pulumi.String("index.handler"),
105105
Role: lambdaRole.Arn,
106106
Code: pulumi.NewFileArchive("./lambda"),

alb-lambda-pulumi-yaml/Pulumi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ resources:
5959
fn:
6060
type: aws:lambda:Function
6161
properties:
62-
runtime: nodejs18.x
62+
Runtime: nodejs24.x
6363
handler: index.handler
6464
role: ${lambdaRole.arn}
6565
code:

alb-lambda-serverless/serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ useDotenv: true
44

55
provider:
66
name: aws
7-
runtime: nodejs20.x
7+
Runtime: nodejs24.x
88
memorySize: 256
99
timeout: 30
1010
# override the default stage (dev) to be `prod`, or you can use the `--stage` CLI option

alb-path-based-route-lambda-tf/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ resource "aws_lb_listener_rule" "example_rule2" {
208208
# Create the Lambda Function
209209
resource "aws_lambda_function" "lambda_function1" {
210210
function_name = "lambdaFunction-service1"
211-
runtime = "nodejs20.x"
211+
runtime = "nodejs24.x"
212212
handler = "index.handler"
213213
filename = "Lambda1.zip"
214214
role = aws_iam_role.lambda_role.arn
@@ -221,7 +221,7 @@ resource "aws_lambda_function" "lambda_function1" {
221221
# Create the Lambda Function
222222
resource "aws_lambda_function" "lambda_function2" {
223223
function_name = "lambdaFunction-service2"
224-
runtime = "nodejs20.x"
224+
runtime = "nodejs24.x"
225225
handler = "index.handler"
226226
filename = "Lambda2.zip"
227227
role = aws_iam_role.lambda_role.arn

apigw-api-key/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Description: Serverless patterns - Amazon API Gateway REST API with API Key (uks
44

55
Globals:
66
Function:
7-
Runtime: nodejs20.x
7+
Runtime: nodejs24.x
88
CodeUri: src/
99

1010
Resources:

apigw-client-certificate/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Description: Serverless patterns - Amazon API Gateway REST API with a Client Cer
44

55
Globals:
66
Function:
7-
Runtime: nodejs20.x
7+
Runtime: nodejs24.x
88
CodeUri: src/
99

1010
Resources:

apigw-dynamodb-lambda-scheduler-sqs-cdk/test/aws-dynamodb-lambda-scheduler-lambda-sample.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe('SQS Test Functions', () => {
3030

3131
template.hasResourceProperties('AWS::Lambda::Function', {
3232
Handler: 'dynamo_stream_handler.handler',
33-
Runtime: 'nodejs18.x',
33+
Runtime: 'nodejs24.x',
3434
Code: {
3535
S3Bucket: {
3636
'Fn::Sub': Match.anyValue()
@@ -60,7 +60,7 @@ describe('SQS Test Functions', () => {
6060

6161
template.hasResourceProperties('AWS::Lambda::Function', {
6262
Handler: 'event_schedule_handler.handler',
63-
Runtime: 'nodejs18.x',
63+
Runtime: 'nodejs24.x',
6464
Code: {
6565
S3Bucket: {
6666
'Fn::Sub': Match.anyValue()

apigw-http-api-eventbridge-lambda-sls/serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ provider:
99
name: aws
1010

1111
# common configuration for all Lambda functions in this stack
12-
runtime: nodejs20.x
12+
Runtime: nodejs24.x
1313
architecture: arm64 # use Graviton for running all Lambda functions
1414

1515
# override the default stage (dev) to be `prod`, or you can use the `--stage` CLI option

apigw-http-api-eventbridge/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Resources:
4242
Properties:
4343
CodeUri: src/
4444
Handler: app.lambdaHandler
45-
Runtime: nodejs20.x
45+
Runtime: nodejs24.x
4646
Events:
4747
EventBridgeTrigger:
4848
Type: CloudWatchEvent

0 commit comments

Comments
 (0)