terraform tweaks to tear down staging right now

This commit is contained in:
2022-07-08 06:32:09 -07:00
parent 5078d4e3ce
commit 2f2d582a4b
5 changed files with 18 additions and 16 deletions

View File

@@ -3,6 +3,7 @@ variable "execution_role_arn" {}
variable "ecs_cluster" {}
variable "local_namespace" {}
variable "desired_count" {}
variable "background_desired_count" {}
variable "http_listener_sg" {
default = "sg-0024906e0e1f78048"
@@ -76,7 +77,7 @@ resource "aws_ecs_service" "integreat_background_worker" {
name = "integreat_background_worker_${var.stage}"
cluster = var.ecs_cluster
task_definition = aws_ecs_task_definition.integreat_background_worker.arn
desired_count = 1
desired_count = var.background_desired_count
deployment_controller {
type = "ECS"
}