small tweaks to prep for staging environment.

This commit is contained in:
Bryce Covert
2021-12-24 08:19:11 -08:00
parent dfc88602a0
commit e7ae9e5df0
7 changed files with 19 additions and 10 deletions

View File

@@ -2,6 +2,7 @@ variable "task_role_arn" {}
variable "execution_role_arn" {}
variable "ecs_cluster" {}
variable "local_namespace" {}
variable "desired_count" {}
variable "http_listener_sg" {
default = "sg-0024906e0e1f78048"
@@ -39,7 +40,7 @@ resource "aws_ecs_service" "integreat_app" {
name = "integreat_app_${var.stage}"
cluster = var.ecs_cluster
task_definition = aws_ecs_task_definition.integreat_app.arn
desired_count = 4
desired_count = var.desired_count
health_check_grace_period_seconds = 600
deployment_controller {
type = "ECS"