Skip to content

Commit

Permalink
put kafka service behind protections again
Browse files Browse the repository at this point in the history
  • Loading branch information
gmrabian committed Dec 18, 2024
1 parent a404b6a commit 0fde9b8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 0fde9b8

Please sign in to comment.