From 6bf1ac004d32bdae7ce6ee1b60999790e8f4b451 Mon Sep 17 00:00:00 2001 From: Georgi Date: Wed, 2 Oct 2024 14:39:15 +0200 Subject: [PATCH] Add source arn field to cloudwatch lambda permission --- aws/logs_monitoring/template.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/aws/logs_monitoring/template.yaml b/aws/logs_monitoring/template.yaml index e82a84fc..aeb43965 100644 --- a/aws/logs_monitoring/template.yaml +++ b/aws/logs_monitoring/template.yaml @@ -661,6 +661,7 @@ Resources: - !Sub "logs.${AWS::Region}.amazonaws.com.cn" - !Sub "logs.${AWS::Region}.amazonaws.com" SourceAccount: !Ref "AWS::AccountId" + SourceArn: "arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:*:*" S3Permission: Type: AWS::Lambda::Permission Properties: