Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Commit

Permalink
Adds taskDefinitionArn to task failure CloudWatch event rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Sklar committed Jun 29, 2021
1 parent 35eec26 commit 5125c3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ resource "aws_cloudwatch_event_rule" "task_failure" {
{"anything-but": 0}
]
},
"clusterArn": ["${local.ecs_cluster_arn}"]
"clusterArn": ["${local.ecs_cluster_arn}"],
"taskDefinitionArn": ["${aws_ecs_task_definition.this.arn}"]
}
}
EOF
Expand Down

0 comments on commit 5125c3b

Please sign in to comment.