1import { GcpEnvironment } from "@/GCP/Environment";
2import * as Effect from "effect/Effect";
3import { MinimumLogLevel } from "effect/References";
4
5export const logLevel = Effect.provideService(
6 MinimumLogLevel,
7 process.env.DEBUG ? "Debug" : "Info",
8);
9
10export const runLifecycle = !process.env.FAST;
11
12export const currentProject = GcpEnvironment.current.pipe(
13 Effect.map((env) => env.project),
14);
15export const location = "us-central1";
16/** Analytics Hub listings/query templates delete reliably in the US multi-region. */
17export const hubLocation = "US";
18export const primaryContactOf = (project: string) =>
19 `alchemy-testing@${project}.iam.gserviceaccount.com`;