Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lambda-layer-ssm-parameters/function/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Resources:
Type: 'AWS::Serverless::Function'
Properties:
FunctionName: !Sub ${AppName}-function
Runtime: nodejs20.x
Runtime: nodejs22.x
CodeUri: ./src
Handler: app.handler
FunctionUrlConfig:
Expand All @@ -47,4 +47,4 @@ Outputs:
# If 'Function' is the function resource name in the SAM template, the function URL resource name will be 'FunctionUrl'.
FunctionUrl:
Description: Url of Lambda function.
Value: !GetAtt FunctionUrl.FunctionUrl
Value: !GetAtt FunctionUrl.FunctionUrl
6 changes: 3 additions & 3 deletions lambda-layer-ssm-parameters/layer/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Resources:
CompatibleArchitectures:
- arm64
CompatibleRuntimes:
- nodejs16.x
- nodejs22.x
RetentionPolicy: Delete
Metadata:
BuildMethod: nodejs16.x
BuildMethod: nodejs22.x
BuildArchitecture: arm64
# Output from this nested stack is used by the parent stack to pass to another nested stack.
Outputs:
LayerArn:
Description: Arn of Lambda Layer.
Value: !Ref Layer
Value: !Ref Layer