Skip to content

Commit

Permalink
Merge pull request #98 from dxw/fix-scheduled-task-event-target-role-arn
Browse files Browse the repository at this point in the history
Fix ECS scheduled task event target role arn
  • Loading branch information
Stretch96 authored Jun 7, 2024
2 parents 722d2aa + d3dc051 commit b1d8d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecs-cluster-infrastructure-service-scheduled-task.tf
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ resource "aws_cloudwatch_event_target" "infrastructure_ecs_cluster_service_sched
target_id = "${local.resource_prefix}-${each.value["container_name"]}-${each.value["scheduled_task_name"]}"
rule = aws_cloudwatch_event_rule.infrastructure_ecs_cluster_service_scheduled_task[each.key].name
arn = aws_ecs_cluster.infrastructure[0].arn
role_arn = aws_iam_role.infrastructure_ecs_cluster_service_scheduled_task[each.value["container_name"]].arn
role_arn = aws_iam_role.infrastructure_ecs_cluster_service_scheduled_task[each.key].arn
input = jsonencode({})

ecs_target {
Expand Down

0 comments on commit b1d8d1c

Please sign in to comment.