We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94d4c92 commit 800ee12Copy full SHA for 800ee12
1 file changed
terraform/modules/eventbridge/main.tf
@@ -1,6 +1,7 @@
1
resource "aws_cloudwatch_event_rule" "module_event" {
2
name = var.eventbridge_name
3
schedule_expression = var.schedule_expression
4
+ role_arn = aws_iam_role.eventbridge_role.arn
5
}
6
7
# For ECS Task
@@ -30,5 +31,5 @@ resource "aws_cloudwatch_event_target" "lambda_target" {
30
31
rule = aws_cloudwatch_event_rule.module_event.name
32
arn = var.target_arn
33
target_id = "${var.target_type}-${aws_cloudwatch_event_rule.module_event.name}"
-
34
+
35
0 commit comments