From 0fde9b830ef0457b0c24cb1e168cd30deb98ec28 Mon Sep 17 00:00:00 2001 From: Garrett Rabian Date: Wed, 18 Dec 2024 09:14:44 -0500 Subject: [PATCH] put kafka service behind protections again --- src/run.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/run.ts b/src/run.ts index 72b3ef15c..003e186ae 100644 --- a/src/run.ts +++ b/src/run.ts @@ -161,10 +161,9 @@ async function deploy(options: { stage: string }) { const deployCmd = ["sls", "deploy", "--stage", stage]; await runner.run_command_and_output("SLS Deploy", deployCmd, "."); // Only deploy resources for kafka ingestion in real envs - - // if (stage === "main" || stage === "val" || stage === "production") { - await deploy_kafka_service(runner, stage); - // } + if (stage === "main" || stage === "val" || stage === "production") { + await deploy_kafka_service(runner, stage); + } } async function destroy_stage(options: {