Skip to content

Commit

Permalink
ci: wait for the steady state
Browse files Browse the repository at this point in the history
  • Loading branch information
zhelezovartem committed Mar 28, 2023
1 parent b424550 commit bfa0549
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions deployment/terraform/deployment.tf
@@ -1,17 +1,18 @@
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
app_domain_name = var.app_domain_name
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
app_domain_name = var.app_domain_name
ecr_replication_targets = var.ecr_replication_targets
ecr_replication_origin = var.ecr_replication_origin
ecs_wait_for_steady_state = true
tags = module.tags.result
# Set load_balancer_configuration_enabled = true to enable ACM, load balancer resources creation
load_balancer_configuration_enabled = true
}

0 comments on commit bfa0549

Please sign in to comment.