We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b5a58f commit ab26940Copy full SHA for ab26940
1 file changed
infrastructure/schedules.tf
@@ -130,7 +130,7 @@ resource "aws_scheduler_schedule" "ods_weekly_update_ecs" {
130
arn = module.ndr-ecs-fargate-ods-update[0].ecs_cluster_arn
131
role_arn = aws_iam_role.ods_weekly_update_ecs_execution[0].arn
132
ecs_parameters {
133
- task_definition_arn = module.ndr-ecs-fargate-ods-update[0].task_definition_arn
+ task_definition_arn = replace(module.ndr-ecs-fargate-ods-update[0].task_definition_arn, "/:[0-9]+$/", "")
134
task_count = 1
135
launch_type = "FARGATE"
136
network_configuration {
0 commit comments