diff --git a/terraform/locals.tf b/terraform/locals.tf index 417175a..156df17 100644 --- a/terraform/locals.tf +++ b/terraform/locals.tf @@ -5,12 +5,12 @@ locals { images = { api = { image = "code4romania/rezultate-vot-api" - tag = "1.1.13" + tag = "1.1.17" } hangfire = { image = "code4romania/rezultate-vot-hangfire" - tag = "1.1.13" + tag = "1.1.17" } importer = { diff --git a/terraform/service_hangfire.tf b/terraform/service_hangfire.tf index b6ef92b..f2e3db3 100644 --- a/terraform/service_hangfire.tf +++ b/terraform/service_hangfire.tf @@ -7,8 +7,8 @@ module "ecs_hangfire" { name = "rezultatevot-hangfire-${var.env}" cluster_name = module.ecs_cluster.cluster_name - min_capacity = 1 - max_capacity = 1 + min_capacity = 0 + max_capacity = 0 image_repo = local.images.hangfire.image image_tag = local.images.hangfire.tag diff --git a/terraform/service_importer.tf b/terraform/service_importer.tf index 72b1f37..8b21a67 100644 --- a/terraform/service_importer.tf +++ b/terraform/service_importer.tf @@ -7,8 +7,8 @@ module "ecs_importer" { name = "rezultatevot-importer-${var.env}" cluster_name = module.ecs_cluster.cluster_name - min_capacity = 1 - max_capacity = 1 + min_capacity = 0 + max_capacity = 0 image_repo = local.images.importer.image image_tag = local.images.importer.tag