Skip to content

Commit

Permalink
set ECS service update timeout (#128)
Browse files Browse the repository at this point in the history
* set ecs service update limit

* tf fmt
  • Loading branch information
zhelezovartem authored Oct 25, 2024
1 parent dfc1215 commit 0772c79
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions deployment/terraform/deployment.tf
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
module "ecs-service" {
source = "s3::https://s3-eu-central-1.amazonaws.com/terraform-modules-9d7e951c290ec5bbe6506e0ddb064808764bc636/terraform-modules.zip//ecs-service/v4"
service_name = var.service_name
TAGGED_IMAGE = var.TAGGED_IMAGE
enable_execute_command = "true"
app_port = var.app_port
desired_count = var.desired_count
cpu_limit = var.cpu_limit
mem_reservation = var.mem_reservation
mem_limit = var.mem_limit
app_env_vars = local.app_env_vars
ecs_wait_for_steady_state = true
tags = module.tags.result
source = "s3::https://s3-eu-central-1.amazonaws.com/terraform-modules-9d7e951c290ec5bbe6506e0ddb064808764bc636/terraform-modules.zip//ecs-service/v4"
service_name = var.service_name
TAGGED_IMAGE = var.TAGGED_IMAGE
enable_execute_command = "true"
app_port = var.app_port
desired_count = var.desired_count
cpu_limit = var.cpu_limit
mem_reservation = var.mem_reservation
mem_limit = var.mem_limit
app_env_vars = local.app_env_vars
ecs_wait_for_steady_state = true
ecs_service_update_timeout = "10m"
tags = module.tags.result
}

0 comments on commit 0772c79

Please sign in to comment.