Skip to content

Commit

Permalink
Add source arn field to cloudwatch lambda permission
Browse files Browse the repository at this point in the history
  • Loading branch information
ge0Aja committed Oct 2, 2024
1 parent 2ac7c3d commit 6bf1ac0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aws/logs_monitoring/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6bf1ac0

Please sign in to comment.