diff --git a/deployment/terraform/deployment.tf b/deployment/terraform/deployment.tf index cd19703..e900b4e 100644 --- a/deployment/terraform/deployment.tf +++ b/deployment/terraform/deployment.tf @@ -1,14 +1,15 @@ module "ecs-service" { - source = "s3::https://s3-eu-central-1.amazonaws.com/terraform-modules-9d7e951c290ec5bbe6506e0ddb064808764bc636/terraform-modules.zip//ecs-service/v2" - service_name = var.service_name - TAGGED_IMAGE = var.TAGGED_IMAGE - enable_execute_command = "true" - app_port = var.app_port - cpu_limit = var.cpu_limit - mem_reservation = var.mem_reservation - mem_limit = var.mem_limit - app_env_vars = local.app_env_vars - ecr_replication_targets = var.ecr_replication_targets - ecr_replication_origin = var.ecr_replication_origin - tags = module.tags.result + source = "s3::https://s3-eu-central-1.amazonaws.com/terraform-modules-9d7e951c290ec5bbe6506e0ddb064808764bc636/terraform-modules.zip//ecs-service/v2" + service_name = var.service_name + TAGGED_IMAGE = var.TAGGED_IMAGE + enable_execute_command = "true" + app_port = var.app_port + cpu_limit = var.cpu_limit + mem_reservation = var.mem_reservation + mem_limit = var.mem_limit + app_env_vars = local.app_env_vars + ecr_replication_targets = var.ecr_replication_targets + ecr_replication_origin = var.ecr_replication_origin + ecs_wait_for_steady_state = true + tags = module.tags.result }