Skip to content

Commit

Permalink
fix(autoscaling): add depends on to autoscaling modules for api and c…
Browse files Browse the repository at this point in the history
…elery worker
  • Loading branch information
briancaffey committed Sep 11, 2022
1 parent 8415c47 commit 07bb5aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/prod/app/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ module "api_autoscaling" {
source = "../../internal/autoscaling"
cluster_name = module.ecs.cluster_name
service_name = module.api.service_name
depends_on = [module.api]
}


Expand Down Expand Up @@ -161,6 +162,7 @@ module "default_celery_worker_autoscaling" {
source = "../../internal/autoscaling"
cluster_name = module.ecs.cluster_name
service_name = module.default_celery_worker.service_name
depends_on = [module.default_celery_worker]
}


Expand Down

0 comments on commit 07bb5aa

Please sign in to comment.