diff --git a/main.tf b/main.tf index 2441036..b2d4c0f 100644 --- a/main.tf +++ b/main.tf @@ -5,12 +5,13 @@ locals { module "ecs_update_monitor" { source = "mergermarket/ecs-update-monitor/acuris" - version = "2.2.1" + version = "2.3.2" cluster = var.ecs_cluster service = module.service.name taskdef = module.taskdef.arn is_test = var.is_test + timeout = var.deployment_timeout } module "service" { diff --git a/variables.tf b/variables.tf index 5b5f588..410fe62 100644 --- a/variables.tf +++ b/variables.tf @@ -233,4 +233,10 @@ variable "health_check_grace_period_seconds" { description = "Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Default 0." type = string default = "0" -} \ No newline at end of file +} + +variable "deployment_timeout" { + description = "Timeout to wait for the deployment to be finished [seconds]." + type = number + default = 600 +}