mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
Fix Lambda permissions in protomaps-template.yaml (#611)
This commit is contained in:
@@ -77,16 +77,21 @@ Resources:
|
|||||||
TargetFunctionArn: !GetAtt LambdaFunction.Arn
|
TargetFunctionArn: !GetAtt LambdaFunction.Arn
|
||||||
InvokeMode: BUFFERED
|
InvokeMode: BUFFERED
|
||||||
|
|
||||||
LambdaFunctionUrlPermission:
|
LambdaFunctionUrlPermissionInvokeUrl:
|
||||||
Type: 'AWS::Lambda::Permission'
|
Type: AWS::Lambda::Permission
|
||||||
Properties:
|
Properties:
|
||||||
Action:
|
Action: lambda:InvokeFunctionUrl
|
||||||
- lambda:InvokeFunctionUrl
|
|
||||||
- lambda:InvokeFunction
|
|
||||||
FunctionName: !Ref LambdaFunction
|
FunctionName: !Ref LambdaFunction
|
||||||
Principal: '*'
|
Principal: '*'
|
||||||
FunctionUrlAuthType: NONE
|
FunctionUrlAuthType: NONE
|
||||||
|
|
||||||
|
LambdaFunctionUrlPermissionInvokeFunction:
|
||||||
|
Type: AWS::Lambda::Permission
|
||||||
|
Properties:
|
||||||
|
Action: lambda:InvokeFunction
|
||||||
|
FunctionName: !Ref LambdaFunction
|
||||||
|
Principal: '*'
|
||||||
|
|
||||||
ViewerRequestCloudFrontFunction:
|
ViewerRequestCloudFrontFunction:
|
||||||
Type: AWS::CloudFront::Function
|
Type: AWS::CloudFront::Function
|
||||||
Properties:
|
Properties:
|
||||||
|
|||||||
Reference in New Issue
Block a user