Interface: LakebaseResolverInputs
User-supplied Lakebase inputs (config or env) before any API resolution.
Extends LakebaseConnectionInputs with resolver-only options.
resolveLakebaseConnection fills gaps from the Lakebase API when
it has enough context (typically a project).
Extends
Section titled “Extends”Properties
Section titled “Properties”autoCreate?
Section titled “autoCreate?”
optionalautoCreate?:string|false
What to do when no project exists in the workspace at all.
undefined(default): derive a project id from project.name (the host repo’spackage.jsonname) slugified to Lakebase id constraints, then create it.string: create a new project with this exact id.false: skip creation and throw with a clear error message.
branch?
Section titled “branch?”
optionalbranch?:string
Branch id within the project. Defaults to the project’s default branch.
Inherited from
Section titled “Inherited from”LakebaseConnectionInputs.branch
database?
Section titled “database?”
optionaldatabase?:string
Postgres database name (PGDATABASE). Defaults to databricks_postgres.
Inherited from
Section titled “Inherited from”LakebaseConnectionInputs.database
endpoint?
Section titled “endpoint?”
optionalendpoint?:string
Canonical endpoint resource path (projects/.../endpoints/...), from
LAKEBASE_ENDPOINT. Defaults to the branch’s read-write endpoint.
Inherited from
Section titled “Inherited from”LakebaseConnectionInputs.endpoint
optionalhost?:string
Postgres hostname (PGHOST). Defaults to the resolved endpoint’s host.
Inherited from
Section titled “Inherited from”
optionalport?:number
Postgres port (PGPORT). Defaults to 5432.
Inherited from
Section titled “Inherited from”project?
Section titled “project?”
optionalproject?:string
Lakebase project id. Resolved from the workspace when unset.
Inherited from
Section titled “Inherited from”LakebaseConnectionInputs.project
sslMode?
Section titled “sslMode?”
optionalsslMode?:"require"|"disable"|"prefer"
Postgres TLS mode (PGSSLMODE). Defaults to require.