Skip to content

Commit 730a3c4

Browse files
committed
updating target
1 parent de82351 commit 730a3c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudwatch_event.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ resource "aws_cloudwatch_event_rule" "event_rule" {
1717
resource "aws_cloudwatch_event_target" "event_target_input_type" {
1818
count = var.deploy_event_target ? 1 : 0
1919

20-
target_id = var.target_name != null ? var.name : "${var.teamid}-${var.prjid}"
20+
target_id = var.target_name != null ? var.target_name : "${var.teamid}-${var.prjid}"
2121
rule = aws_cloudwatch_event_rule.event_rule.*.id[count.index]
2222
arn = var.target_arn
2323
role_arn = var.service_role

0 commit comments

Comments
 (0)