diff --git a/serverless/aws/protomaps-template.yaml b/serverless/aws/protomaps-template.yaml index 34d3fbe..aa11db3 100644 --- a/serverless/aws/protomaps-template.yaml +++ b/serverless/aws/protomaps-template.yaml @@ -80,7 +80,9 @@ Resources: LambdaFunctionUrlPermission: Type: 'AWS::Lambda::Permission' Properties: - Action: lambda:InvokeFunctionUrl + Action: + - lambda:InvokeFunctionUrl + - lambda:InvokeFunction FunctionName: !Ref LambdaFunction Principal: '*' FunctionUrlAuthType: NONE @@ -174,7 +176,7 @@ Resources: Type: 'AWS::Lambda::Function' Properties: FunctionName: !Sub "${AWS::StackName}-LambdaFunction" - Runtime: nodejs20.x + Runtime: nodejs22.x Architectures: [arm64] Role: !GetAtt LambdaExecutionRole.Arn Handler: index.handler