diff --git a/services/terraform/remote/service_backup.tf b/services/terraform/remote/service_backup.tf --- a/services/terraform/remote/service_backup.tf +++ b/services/terraform/remote/service_backup.tf @@ -191,12 +191,12 @@ forward { target_group { arn = aws_lb_target_group.backup_service_http.arn - weight = local.is_staging ? 0 : 100 # Staging: 0% EC2, Prod: 100% EC2 + weight = 0 # 0% EC2 } target_group { arn = aws_lb_target_group.backup_service_http_fargate.arn - weight = local.is_staging ? 100 : 0 # Staging: 100% Fargate, Prod: 0% Fargate + weight = 100 # 100% Fargate } stickiness { diff --git a/services/terraform/remote/service_blob.tf b/services/terraform/remote/service_blob.tf --- a/services/terraform/remote/service_blob.tf +++ b/services/terraform/remote/service_blob.tf @@ -194,12 +194,12 @@ forward { target_group { arn = aws_lb_target_group.blob_service_http.arn - weight = local.is_staging ? 0 : 100 # Staging: 0% EC2, Prod: 100% EC2 + weight = 0 # 0% EC2 } target_group { arn = aws_lb_target_group.blob_service_http_fargate.arn - weight = local.is_staging ? 100 : 0 # Staging: 100% Fargate, Prod: 0% Fargate + weight = 100 # 100% Fargate } stickiness { diff --git a/services/terraform/remote/service_identity.tf b/services/terraform/remote/service_identity.tf --- a/services/terraform/remote/service_identity.tf +++ b/services/terraform/remote/service_identity.tf @@ -286,12 +286,12 @@ forward { target_group { arn = aws_lb_target_group.identity_service_ws.arn - weight = local.is_staging ? 0 : 100 # Staging: 0% EC2, Prod: 100% EC2 + weight = 0 # 0% EC2 } target_group { arn = aws_lb_target_group.identity_service_ws_fargate.arn - weight = local.is_staging ? 100 : 0 # Staging: 100% Fargate, Prod: 0% Fargate + weight = 100 # 100% Fargate } stickiness { @@ -321,12 +321,12 @@ forward { target_group { arn = aws_lb_target_group.identity_service_grpc.arn - weight = local.is_staging ? 0 : 100 # Staging: 0% EC2, Prod: 100% EC2 + weight = 0 # 0% EC2 } target_group { arn = aws_lb_target_group.identity_service_grpc_fargate.arn - weight = local.is_staging ? 100 : 0 # Staging: 100% Fargate, Prod: 0% Fargate + weight = 100 # 100% Fargate } stickiness { diff --git a/services/terraform/remote/service_tunnelbroker.tf b/services/terraform/remote/service_tunnelbroker.tf --- a/services/terraform/remote/service_tunnelbroker.tf +++ b/services/terraform/remote/service_tunnelbroker.tf @@ -325,12 +325,12 @@ forward { target_group { arn = aws_lb_target_group.tunnelbroker_ws.arn - weight = local.is_staging ? 0 : 100 # Staging: 0% EC2, Prod: 100% EC2 + weight = 0 # 0% EC2 } target_group { arn = aws_lb_target_group.tunnelbroker_ws_fargate.arn - weight = local.is_staging ? 100 : 0 # Staging: 100% Fargate, Prod: 0% Fargate + weight = 100 # 100% Fargate } stickiness { @@ -359,12 +359,12 @@ forward { target_group { arn = aws_lb_target_group.tunnelbroker_grpc.arn - weight = local.is_staging ? 0 : 100 # Staging: 0% EC2, Prod: 100% EC2 + weight = 0 # Switch to 0% EC2 } target_group { arn = aws_lb_target_group.tunnelbroker_grpc_fargate.arn - weight = local.is_staging ? 100 : 0 # Staging: 100% Fargate, Prod: 0% Fargate + weight = 100 # Switch to 100% Fargate } stickiness {