Skip to content

Commit

Permalink
ci(infra): API depends on registry
Browse files Browse the repository at this point in the history
  • Loading branch information
topher-lo committed Dec 10, 2024
1 parent 228dda6 commit ccafe5b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
5 changes: 1 addition & 4 deletions deployments/aws/ecs/ecs-api.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ resource "aws_ecs_task_definition" "api_task_definition" {
}
}
])

depends_on = [
aws_ecs_service.temporal_service
]
}

resource "aws_ecs_service" "tracecat_api" {
Expand Down Expand Up @@ -85,6 +81,7 @@ resource "aws_ecs_service" "tracecat_api" {

depends_on = [
aws_ecs_service.temporal_service,
aws_ecs_service.tracecat_registry
]

}
10 changes: 0 additions & 10 deletions deployments/aws/ecs/ecs-registry.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ resource "aws_ecs_task_definition" "registry_task_definition" {
}
}
])

depends_on = [
aws_ecs_service.tracecat_api,
aws_ecs_service.tracecat_worker
]
}

resource "aws_ecs_service" "tracecat_registry" {
Expand Down Expand Up @@ -93,9 +88,4 @@ resource "aws_ecs_service" "tracecat_registry" {
}
}
}

depends_on = [
aws_ecs_service.tracecat_api,
aws_ecs_service.tracecat_worker
]
}
8 changes: 1 addition & 7 deletions deployments/aws/ecs/ecs-worker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ resource "aws_ecs_task_definition" "worker_task_definition" {
}
}
])

depends_on = [
aws_ecs_service.temporal_service,
aws_ecs_task_definition.temporal_task_definition,
]
}

resource "aws_ecs_service" "tracecat_worker" {
Expand Down Expand Up @@ -86,7 +81,6 @@ resource "aws_ecs_service" "tracecat_worker" {
}

depends_on = [
aws_ecs_service.temporal_service,
aws_ecs_service.tracecat_api,
aws_ecs_service.temporal_service
]
}

0 comments on commit ccafe5b

Please sign in to comment.