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