small tweaks to prep for staging environment.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user