mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
Update Lambda permissions and runtime version (#605)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user