diff --git a/infrastructure/cloudformation/dt/cloudwatch.yaml b/infrastructure/cloudformation/dt/cloudwatch.yaml index d0ccd2e..a7563cf 100644 --- a/infrastructure/cloudformation/dt/cloudwatch.yaml +++ b/infrastructure/cloudformation/dt/cloudwatch.yaml @@ -25,6 +25,15 @@ Parameters: Resources: + CloudWatchLambdaPermission: + Type: AWS::Lambda::Permission + Condition: Automated + Properties: + Action: lambda:InvokeFunction + Principal: events.amazonaws.com + SourceArn: !GetAtt TaskListRule.Arn + FunctionName: !Ref LambdaArn + TaskListRule: Type: AWS::Events::Rule Properties: