Skip to content

Commit

Permalink
Allow to override deployment timeout. (#11)
Browse files Browse the repository at this point in the history
* Revert "revert last changes"

This reverts commit bab8fd8.

* Revert "Update main.tf"

This reverts commit b992e9b.

* Allow to override deployment timeout.
  • Loading branch information
grzegorz-faryna-mergermarket authored Dec 4, 2023
1 parent bab8fd8 commit 3297944
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
8 changes: 7 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

variable "deployment_timeout" {
description = "Timeout to wait for the deployment to be finished [seconds]."
type = number
default = 600
}

0 comments on commit 3297944

Please sign in to comment.