Fix rule
This commit is contained in:
parent
5c491f97a2
commit
bc66b14208
@ -26,14 +26,16 @@ Parameters:
|
||||
Resources:
|
||||
|
||||
TaskListRule:
|
||||
EventPattern:
|
||||
source:
|
||||
- "aws.ecs"
|
||||
detail-type:
|
||||
- "ECS Task State Change"
|
||||
detail:
|
||||
clusterArn:
|
||||
- !Ref Cluster
|
||||
Targets:
|
||||
- Id: RedisUpdater
|
||||
Arn: !Ref LambdaArn
|
||||
Type: AWS::Events::Rule
|
||||
Properties:
|
||||
EventPattern:
|
||||
source:
|
||||
- "aws.ecs"
|
||||
detail-type:
|
||||
- "ECS Task State Change"
|
||||
detail:
|
||||
clusterArn:
|
||||
- !Ref Cluster
|
||||
Targets:
|
||||
- Id: RedisUpdater
|
||||
Arn: !Ref LambdaArn
|
Reference in New Issue
Block a user