Skip to content

Commit

Permalink
[Logs forwarder] update CFT - use forwarder ARN for granting invoke p…
Browse files Browse the repository at this point in the history
…ermissions to cloudwatch
  • Loading branch information
ge0Aja committed Sep 26, 2024
1 parent 4070f8b commit 2ac7c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/logs_monitoring/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ Resources:
CloudWatchLogsPermission:
Type: AWS::Lambda::Permission
Properties:
FunctionName: !Ref "Forwarder"
FunctionName: !GetAtt "Forwarder.Arn"
Action: lambda:InvokeFunction
Principal: !If
- IsAWSChina
Expand Down

0 comments on commit 2ac7c3d

Please sign in to comment.