terraform tweaks to tear down staging right now
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user