Skip to content

Commit d80d11d

Browse files
committed
lambda-layer-ssm-parameters: Update runtime to nodejs22.x
1 parent 2ace8a9 commit d80d11d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lambda-layer-ssm-parameters/function/template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Resources:
2020
Type: 'AWS::Serverless::Function'
2121
Properties:
2222
FunctionName: !Sub ${AppName}-function
23-
Runtime: nodejs20.x
23+
Runtime: nodejs22.x
2424
CodeUri: ./src
2525
Handler: app.handler
2626
FunctionUrlConfig:
@@ -47,4 +47,4 @@ Outputs:
4747
# If 'Function' is the function resource name in the SAM template, the function URL resource name will be 'FunctionUrl'.
4848
FunctionUrl:
4949
Description: Url of Lambda function.
50-
Value: !GetAtt FunctionUrl.FunctionUrl
50+
Value: !GetAtt FunctionUrl.FunctionUrl

lambda-layer-ssm-parameters/layer/template.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ Resources:
1515
CompatibleArchitectures:
1616
- arm64
1717
CompatibleRuntimes:
18-
- nodejs16.x
18+
- nodejs22.x
1919
RetentionPolicy: Delete
2020
Metadata:
21-
BuildMethod: nodejs16.x
21+
BuildMethod: nodejs22.x
2222
BuildArchitecture: arm64
2323
# Output from this nested stack is used by the parent stack to pass to another nested stack.
2424
Outputs:
2525
LayerArn:
2626
Description: Arn of Lambda Layer.
27-
Value: !Ref Layer
27+
Value: !Ref Layer

0 commit comments

Comments
 (0)