Skip to content

Commit

Permalink
Allow to override deployment timeout. (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorz-faryna-mergermarket authored Nov 30, 2023
1 parent 028a6e0 commit f2dd78c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module "ecs_update_monitor" {
service = module.service.name
taskdef = module.taskdef.arn
is_test = var.is_test
timeout = var.deployment_timeout
}

module "service" {
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -234,3 +234,9 @@ variable "health_check_grace_period_seconds" {
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 f2dd78c

Please sign in to comment.