For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configurations

Configure a Vulcan project with config.yaml, usage.yaml, and agreement.md: project settings, gateways, model defaults, the semantic layer, variables, execution hooks, the linter, notifications, deploy

Your Vulcan project needs a configuration file. It tells Vulcan how to connect to your data warehouse, where to store state, and what defaults to use for your models. Without it, Vulcan doesn't know where your data lives or how to run your transformations.

Configuration file

vulcan init creates the base configuration file in your project root. Update it for your project:

  • config.yaml: Configure connections, runtime behavior, and model defaults.

  • usage.yaml: Business-facing guidance about the data product itself: who it's for, who it isn't for, caveats, and reference links. See Usage guidance.

  • agreement.md: An optional, free-form data-sharing/usage agreement, read verbatim. See Agreement.

Example configuration

Here's what a typical configuration file looks like:

Configuration structure

Configuration sections

A walkthrough of each part of config.yaml, in the order you'll typically configure them.

Project settings

Project settings identify your project. They don't affect how Vulcan runs, but catalog tools rely on them for organization and discovery. Business-facing usage guidance belongs in usage.yaml, not in config.yaml.

The example configuration above shows a typical set of project settings. See Project identity for every key, its default, and when to set it.

Tenant can be set in config.yaml or via the environment

tenant is required by the platform. vulcan init writes it directly into config.yaml (e.g. tenant: default), and domain becomes required once tenant is set. In production, the platform can instead inject the tenant through DATAOS_TENANT_ID, which overrides tenant from config.yaml. For local development without a tenant in config.yaml, export it before running Vulcan:

Without tenant set either way, Vulcan refuses to load the project.

Catalog / marketplace metadata

Optional fields shown to consumers in a catalog or marketplace listing: compliance posture, support channels, SLA commitments, licensing, data ownership, and where to file issues. None of these affect how Vulcan runs; they're for discovery and trust. vulcan init scaffolds all of them with placeholder values.

status flags lifecycle: Draft while still internal, Active once published. Don't store tax IDs or registration numbers under data_holder, since config.yaml is committed to git.

See Compliance, support, and agreements for the full field reference.

Gateways

Gateways define how Vulcan connects to your data warehouse and state backend. Define multiple gateways for different environments: dev, staging, prod. Each gateway has its own connection settings. connection.type accepts postgres, snowflake, databricks, spark, trino, mssql (SQL Server), fabric (Microsoft Fabric, built on the mssql adapter), redshift (Amazon Redshift), or athena (Amazon Athena). See Engine Guides for the complete technical reference.

Each gateway is keyed by a name you choose. Set default_gateway to the one Vulcan uses when you don't pass --gateway on the command line:

See Gateway and connection configuration for every gateway key.

State connection

Vulcan needs somewhere to persist plan/run state (applied model versions, environments, snapshots). Configure it with state_connection, using the same connection shape as a gateway connection:

If state_connection is omitted, local runs default to DuckDB at .vulcan/state.db, resolved against the project root. vulcan init adds .vulcan/ to .gitignore, since the default state database is local, disposable state rather than something to commit.

A gateway can also override where its own state lives with gateways.<name>.state_connection, state_schema, or rollup_schema (see Gateway and connection configuration below).

Model defaults

The model_defaults section is required. At minimum, specify dialect to tell Vulcan what SQL dialect your models use. Other defaults are optional but apply to all models automatically, so you don't repeat the same settings in every model file.

See Model Defaults for all available options.

Semantic layer

These project-level flags control how strictly the semantic layer validates itself, whether it materializes rollups, and how joins resolve:

The Semantic layer table in the Complete configuration reference explains what each flag does.

Variables

Store sensitive information like passwords and API keys without hardcoding them. Use environment variables, .env files, or configuration overrides. Variables also let you override configuration values dynamically.

See Variables for details.

Execution hooks

Run SQL statements automatically at the start and end of vulcan plan and vulcan run commands. Use before_all for setup tasks like creating temporary tables or granting permissions. Use after_all for cleanup or post-processing. A hook entry is inline SQL, a macro, or a file containing SQL statements.

See Execution Hooks for detailed examples and use cases.

Linter

Automatic code quality checks that run when you create a plan or run the lint command. Catches common mistakes and enforces coding standards. Use built-in rules or create custom ones.

See Linter for rules and custom linter configuration.

Notifications

Set up alerts via Slack, Teams webhook, email, or console targets. Get notified when plans start or finish, when runs complete, or when data quality checks start or finish. Data quality events use the dq_* names.

See Notifications for Teams webhook, Slack, API, and email setup.

Review

Configure the LLM vulcan review uses to generate AI-assisted review reports. Requires the review extra: pip install "./vulcan-0.228.1.32-py3-none-any.whl[review]".

model shown above is the default; set it to any model identifier your provider supports. review.model is required — vulcan review raises without it. Override the model per run with vulcan review --llm.

Auth extension hook

Use the root-level after_authorize field when a data product needs to resolve user groups and claims after DataOS authorization. The hook points to a Python function in your project. Put plugin modules in a plugins/ package at the project root:

Deployment

The deployment: block drives vulcan create_deploy_yaml, which renders the DataOS domain-resource.yaml deterministically: every value in the output is either derived from your project, defaulted, or set explicitly here. There are no placeholders left to fill in by hand.

repo.url, repo.base_dir, compute, and run_as_user are required; everything else has a default or is derived (engine from the gateway connection type, crons from your models).

Complete configuration reference

This section lists every key config.yaml supports, grouped by area, with type, requirement, default, and guidance on when to set it versus when to leave it out.

Project identity

Configuration Key
Description
Type
Required
Default
When to use / skip

name

Project identifier (used for resource naming).

string

Yes

-

Always required.

tenant

Tenant the project belongs to. vulcan init sets it directly; DATAOS_TENANT_ID overrides it at runtime.

string

Yes*

-

Always required, one way or the other.

domain

Business domain the project is grouped under.

string

Yes*

-

Required once tenant is present.

description

Project description and purpose. Validated as non-empty.

string

Yes

placeholder

Always required.

display_name

Human-readable name for UI/docs

string

No

null

Use when name isn't human-friendly enough for UI/catalog display.

discoverable

Whether the product is listed in catalog search

boolean

No

true

Turn off while a product is still internal-only or unfinished.

version

Release version (SemVer 2.0)

string

No

"0.0.0"

Set once you track releases; must be valid SemVer.

alignment

Data Mesh orientation (source_aligned or consumer_aligned)

enum

No

consumer_aligned

Use if your org tracks Data Mesh alignment.

project

Legacy alias of name. Auto-filled from name if omitted.

string

No

""

Only for projects already using this legacy field.

tags

Labels for categorization. Merged with DATAOS_RESOURCE_TAGS.

array

No

[]

Use when catalog search/filtering needs them.

terms

Business glossary terms (e.g., glossary.data_product)

array

No

[]

Use if a business glossary exists to link into.

status

Lifecycle status: Draft or Active

enum

No

-

Use to flag work-in-progress projects before they go live.

usage_path

Path to the usage sidecar file.

string

No

usage.yml, falling back to usage.yaml

Use only if your usage file lives at a non-default path.

agreement_path

Path to the optional data-sharing agreement sidecar file, read verbatim, if not the default agreement.md.

string

No

agreement.md

Use only if your agreement file lives at a non-default path.

* tenant and domain become required together. See Minimal valid configuration.

Users

Configuration Key
Description
Type
Required
Default
When to use / skip

users

List of DataOS users for the project. At least one entry is required.

array

Yes

-

Always required.

users[].username

DataOS username. Must be a valid user in the current tenant. Validated at load time.

string

Yes

-

Always required per entry.

users[].github_username

GitHub username for the user.

string

No

-

Use to link commits/PRs to this person.

users[].slack_username

Slack username for the user.

string

No

-

Use to route Slack notifications to individuals.

users[].email

Email address for notifications

string

No

-

Use when email-based notifications are configured.

users[].roles

Fine-grained roles for the user on this project.

array

No

-

Use when type alone isn't granular enough.

users[].notification_targets

Notification targets specific to this user.

array

No

-

Use when a specific user needs their own notification routing.

users[].type

Role of the user in this project: OWNER or MEMBER

string

No

-

Use to distinguish accountable owners from other members.

username

Single user to receive notifications

string

No

""

Use for a simple fallback recipient, separate from per-user targets.

Compliance, support, and agreements

Configuration Key
Description
Type
Required
Default
When to use / skip

issue_tracker

Where consumers file defects or data-quality issues for this product.

object

No

null

Use when a dedicated tracker exists.

issue_tracker.provider

Tracker provider: github, jira, gitlab, linear, asana, azure_devops, or other.

enum

No*

-

Required once issue_tracker is set.

issue_tracker.url

Reachable URL to the tracker/issues page.

string

No*

-

Required once issue_tracker is set.

compliance

Compliance posture: regimes, data residency, governance contact.

object

No

null

Use when the product is subject to specific frameworks.

compliance.regimes

Frameworks that apply (e.g. GDPR, SOC2, HIPAA).

array of string

No

[]

Use when the product is subject to specific frameworks.

compliance.data_residency

Where data must physically reside (e.g. us-only).

string

No

null

Use when data residency is contractually or legally constrained.

compliance.legal_contact

Governance escalation contact, distinct from support.

string

No

null

Use when compliance escalations need a named contact.

support

List of support channels for consumers.

array of object

No

[]

Use when consumers need a defined support path.

support[].channel

Channel name/identifier (e.g. a Slack channel).

string

No

-

-

support[].tool

slack, teams, email, ticket, or other.

enum

No

-

-

support[].scope

interactive, announcements, or issues.

enum

No

-

-

support[].url

Link to the channel/thread.

string

No

-

-

support[].hours

Coverage hours, free text (e.g. Mon-Fri 09:00-17:00 UTC).

string

No

-

-

sla

Service-level commitments, keyed by a fixed vocabulary (uptime, latency, update_frequency, time_to_repair, end_of_life, ...).

object

No

null

Use when you've committed to a formal SLA.

sla.<metric>.target

Target value for the metric.

number

No

-

-

sla.<metric>.unit

Unit for target (e.g. d, h, min, %).

string

No

-

-

sla.<metric>.monitoring.system

System that tracks/enforces this SLA metric.

string

No

-

-

license

License/usage terms for the product.

object

No

null

Use when licensing needs to be declared.

license.url

Link to the terms; defaults to the generated agreement.md.

string

No

-

-

data_holder

Who is organizationally accountable for the underlying data.

object

No

null

Use when ownership isn't already clear from users. Don't store tax IDs or registration numbers in git.

data_holder.legal_name

Organization's legal name.

string

No

-

-

data_holder.url

Organization's public URL.

string

No

-

-

usage

Inline usage guidance, as an alternative to a sidecar usage.yaml.

object

No

null

Prefer the sidecar usage.yaml file instead (see Usage guidance).

agreement

Inline agreement text, as an alternative to a sidecar agreement.md.

string

No

null

Prefer the sidecar agreement.md file instead (see Agreement).

* Required only once the parent issue_tracker block is set.

Gateway and connection configuration

Configuration Key
Description
Type
Required
Default

gateways

Gateway configurations for different environments

object

Yes*

{"": {}}

gateways.<name>.connection

Primary data warehouse connection

object

Yes

-

gateways.<name>.state_connection

Where this gateway's state is stored, if different from the main state_connection.

object

No

Uses state_connection

gateways.<name>.test_connection

Lightweight connection for unit tests (e.g., DuckDB) instead of prod.

object

No

Uses connection

gateways.<name>.scheduler

Scheduler configuration

object

No

Built-in (BuiltInSchedulerConfig)

gateways.<name>.state_schema

Schema where state tables are stored for this gateway.

string

No

Default schema

gateways.<name>.rollup_schema

Schema where metric rollups are materialized for this gateway.

string

No

Default schema

gateways.<name>.variables

Gateway-specific variables

object

No

{}

gateways.<name>.model_defaults

Model defaults scoped to this gateway, overriding the project-wide ones.

object

No

Project model_defaults

default_gateway

Name of the default gateway

string

No

""

default_connection

Root-level default connection

object

No

null

default_test_connection

Root-level default test connection.

object

No

null

default_scheduler

Root-level default scheduler

object

No

Built-in (BuiltInSchedulerConfig)

state_connection

Root-level connection where Vulcan persists plan/run state, if you don't want to configure it per gateway.

object

No

DuckDB at .vulcan/state.db

* At least one gateway with a connection is required.

Model configuration

Configuration Key
Description
Type
Required
Default

model_defaults

Default values applied to all models

object

Yes*

{}

model_defaults.dialect

SQL dialect (postgres, snowflake, bigquery, etc.)

string

Yes

-

model_defaults.owner

Default owner for all models. If not set, defaults to the first config.users entry. Must be a username listed in config.users; config load fails if the value does not match.

string

No

First config.users entry

model_defaults.stamp

Arbitrary value used to force a version bump across models.

string

No

null

model_defaults.start

Default start date for backfilling

string

No

Inferred

model_defaults.cron

Default cron schedule (e.g., @daily)

string

No

null

model_defaults.kind

Default model kind (FULL, INCREMENTAL, etc.)

string/object

No

VIEW

model_defaults.interval_unit

Temporal granularity of data intervals

string

No

From cron

model_defaults.batch_concurrency

Max concurrent batches for incremental models

integer

No

1

model_defaults.table_format

Table format (iceberg, delta, hudi)

string

No

null

model_defaults.storage_format

Storage format (parquet, orc)

string

No

null

model_defaults.on_destructive_change

Action on destructive schema changes

string

No

error

model_defaults.on_additive_change

Action on additive schema changes

string

No

apply

model_defaults.physical_properties

Properties for physical tables/views

object

No

{}

model_defaults.virtual_properties

Properties for virtual layer views

object

No

{}

model_defaults.session_properties

Engine-specific session properties

object

No

{}

model_defaults.audits

Assertion functions for all models (alias: assertions)

array

No

[]

model_defaults.optimize_query

Whether to optimize SQL queries

boolean

No

true

model_defaults.allow_partials

Whether models can process incomplete intervals

boolean

No

false

model_defaults.enabled

Whether models are enabled by default

boolean

No

true

model_defaults.formatting

Whether SQL is auto-formatted by default.

boolean

No

true

model_defaults.pre_statements

SQL statements executed before model runs

array

No

null

model_defaults.post_statements

SQL statements executed after model runs

array

No

null

model_defaults.on_virtual_update

Statements run whenever the virtual layer updates.

array

No

null

* The model_defaults.dialect field is required.

Semantic layer

Configuration Key
Description
Type
Required
Default

strict_semantic_validation

Hard-fail on shape violations in filter, segment, and calculated-measure expressions. When false, violations are logged and the project still loads with warnings.

boolean

No

false

enable_rollup

Materialize semantic-model rollups: blocks as physical pre-aggregation tables. rollups: blocks always validate; they only materialize when this is true.

boolean

No

false

rollup_schema

Physical schema rollups are materialized into. Counts toward the physical-table naming budget (see Rollups).

string

No

rollup

allow_reciprocal_joins

Whether two semantic models may declare inverse joins to each other. Each reciprocal pair must have inverse join types and exactly one side setting skip_for_bi. Set false to reject reciprocal pairs as cycles (see Joins).

boolean

No

true

metric_join_path

Default join-path mode for metrics that reference multiple semantic models: directed or connected. Override per metric with join_path: (see Join path mode).

string

No

directed

Variables and environment

Configuration Key
Description
Type
Required
Default

variables

Root-level variables for models/macros

object

No

{}

env_vars

Environment variable overrides

object

No

{}

Execution hooks

Configuration Key
Description
Type
Required
Default

before_all

SQL statements, macros, or statement files executed at start of plan/run

array

No

null

after_all

SQL statements, macros, or statement files executed at end of plan/run

array

No

null

Code quality and linting

Configuration Key
Description
Type
Required
Default

linter

Linting configuration

object

No

{enabled: false}

linter.enabled

Enable or disable linting

boolean

No

false

linter.rules

List of rules to enforce (error level)

array

No

[]

linter.warn_rules

List of rules to warn about

array

No

[]

Notification targets

Configuration Key
Description
Type
Required
Default

notification_targets

List of notification targets (Teams webhook, Slack, email, console)

array

No

[]

Environment and schema management

Configuration Key
Description
Type
Required
Default

vde (alias: virtual_data_environment)

Turn full Virtual Data Environments on/off. true = versioned physical tables + virtual layer; false = simple mode. Defaults to false: enable it explicitly when you want VDE. Not supported for spark and trino gateways: validation rejects vde: true on those. Replaces the deprecated virtual_environment_mode.

boolean

No

false

default_target_environment

Default environment for plan/run commands

string

No

prod

snapshot_ttl

Time before unused snapshots are deleted

string

No

in 1 week

environment_ttl

Time before dev environments are deleted

string

No

in 1 week

pinned_environments

Environments not deleted by janitor

array

No

[]

physical_schema_mapping

Map model patterns (regex) to physical schema names. Replaces the deprecated physical_schema_override, which is auto-converted with a warning.

object

No

{}

environment_suffix_target

Where to append environment name (schema, table, catalog)

enum

No

schema

environment_catalog_mapping

Route environments to specific catalogs (e.g., dev models go to dev_catalog, prod to prod_catalog). Useful in multi-catalog setups where each environment writes to a different database.

object

No

{}

physical_table_naming_convention

How to name tables at the physical layer

enum

No

schema_and_table

gateway_managed_virtual_layer

Whether virtual-layer views are created by the model's own gateway

boolean

No

false

ignore_patterns

Glob patterns for files to ignore

array

No

Standard list

time_column_format

Default format for model time columns

string

No

%Y-%m-%d

Project and runtime management

Configuration Key
Description
Type
Required
Default

log_limit

Default number of logs to keep

integer

No

20

cache_dir

Directory for Vulcan's compiled project cache

string

No

.cache

loader

Loader class for loading project files

class

No

Default loader

loader_kwargs

Arguments to pass to loader instance

object

No

{}

infer_python_dependencies

Auto-detect Python package requirements

boolean

No

true

run

Run command configuration

object

No

Default

plan

Plan command configuration

object

No

Default

plan.auto_categorize_changes

Auto-categorize changes as breaking/non-breaking. Replaces top-level auto_categorize_changes.

object

No

Default

plan.include_unmodified

Include unmodified models in the plan output. Replaces top-level include_unmodified.

boolean

No

false

plan.use_finalized_state

Use finalized state when creating plans. Requires vde: true.

boolean

No

false

format

SQL formatting options

object

No

Default

ui

UI server configuration

object

No

Default

migration

Migration configuration

object

No

Default

janitor

Cleanup task configuration

object

No

Default

model_naming

Name inference rules for models

object

No

Default

Deployment

Use deployment when the project is deployed as a DataOS resource rather than run locally/ad hoc; see Deployment above for the walkthrough.

Configuration Key
Description
Type
Required
Default

deployment

Deployment configuration for the project.

object

No

null

deployment.repo.url

Git repository URL for the deploy manifest.

string

Yes*

-

deployment.repo.base_dir

Base directory within the repo to load the project from.

string

Yes*

-

deployment.repo.secret_id

Reference to stored credentials for private repos. Omit it for public repos.

string

No

null

deployment.repo.sync_flags

Extra flags controlling how the repo is synced.

array

No

[]

deployment.compute

Compute resource the deployment runs on.

string

Yes*

-

deployment.run_as_user

User the deployment runs as.

string

Yes*

-

deployment.type

Deployment resource type (e.g., workflow).

string

No

null

deployment.engine

Compute engine used (e.g., spark). Required when the gateway connection is type: depot; derived automatically (and should be omitted) for direct connections.

string

No

Derived from connection type

deployment.state_store_connection

State store connection reference for the deployment.

string

No

null

deployment.object_store_connection

Object store connection reference for the deployment.

string

No

null

deployment.depots

Depots the deployment has access to.

array

No

[]

deployment.schedule

Cron schedule for the deployment.

string

No

null

deployment.workflow

Workflow-specific settings.

object

No

{}

deployment.workflow.resources

CPU and memory requests and limits for the workflow. The singular resource/request/limit keys still load but are deprecated.

object

No

{}

deployment.api

API-specific settings.

object

No

{}

deployment.api.resources

CPU and memory requests and limits for the API service. The singular resource/request/limit keys still load but are deprecated.

object

No

{}

deployment.use

Additional resource references to attach.

object

No

{}

deployment.spark_conf

Spark configuration overrides.

object

No

{}

deployment.trino

Trino-specific configuration.

object

No

{}

* Required only when deployment is used (or when you run vulcan create_deploy_yaml).

Integrations and external services

Configuration Key
Description
Type
Required
Default

dbt

DBT-specific configuration

object

No

null

object_store

Object storage for query results (MinIO/S3/GCS/Azure)

object

No

null

object_store.provider

Object storage provider: s3, gcs, azure, or minio.

string

No

null

object_store.bucket

Bucket name for storing query results.

string

No

null

object_store.base_path

Base path within the bucket.

string

No

null

object_store.compression

Compression codec: snappy, gzip, or zstd.

string

No

null

object_store.presigned_url_expiry_mins

How long presigned URLs to results remain valid.

integer

No

null

object_store.credentials

Credentials for the object store provider.

object

No

null

transpiler

External transpiler service

object

No

{base_url: "http://127.0.0.1:8100", timeout: 30, token: null}

pgq

PostgreSQL Queue for async jobs

object

No

Default

prometheus

Prometheus metrics export configuration.

object

No

null

analytics

CloudEvents telemetry configuration. Replaces the deprecated disable_anonymized_analytics.

object

No

{enabled: false}

analytics.enabled

Enable telemetry publishing

boolean

No

false

analytics.api_key

Telemetry API key. Required when analytics.enabled: true.

string

No

null

review

LLM configuration for vulcan review. Requires the review extra.

object

No

null

review.model

Model identifier used for the review. Required to run vulcan review.

string

Yes*

openai/gpt-5.6-luna

review.api_key

API key for the review LLM provider, e.g. "{{ env_var('LLM_PROVIDER_API_KEY') }}".

string

No

null

openlineage

OpenLineage data lineage integration

object

No

null

after_authorize

Auth extension hook called after DataOS authorization, for example plugins.auth_ext:resolve_user_groups.

string

No

null

* review.model is required only when the review: block is used (or when you run vulcan review).

Object store: GCS and Azure supported alongside S3

object_store's secret projection accepts STORAGE_FORMAT: gcs and STORAGE_FORMAT: azure in addition to s3 (matching is case-insensitive), each with a RELATIVE_PATH key. No project change is needed if you're already on S3. See State management for why Vulcan needs an object store and what it keeps there.

Fabric and Azure SQL now labeled correctly in the Datasets page

Nilus's metadata service-type mapping now identifies fabric and azuresql connection types, so datasets backed by those gateways show up as "Microsoft Fabric" in the Datasets catalog view instead of a generic label.

GraphQL is served in-process

GraphQL is served in-process at /semantic/graphql: there's no separate graphql config block, sidecar, or process to run. Execution tunables are set via environment variables instead: GRAPHQL_POLL_*, RETRY_AFTER, and DEFAULT_TIMEZONE. If your config.yaml still has a graphql (or GraphQLConfig) block, remove it and set the equivalent env vars.

Minimal valid configuration

Vulcan refuses to load a project unless these are satisfied:

Key
Why it's required

name

Identifies the project/resource. Can be supplied via DATAOS_RESOURCE_NAME instead.

description

Must be non-empty; used for discovery and documentation.

tenant

Set in config.yaml or supplied via DATAOS_TENANT_ID (see Project settings).

domain

Required once tenant is present.

users

Must contain at least one user; models and ownership validate against it.

gateways.<name>.connection

At least one gateway with a working connection.

model_defaults.dialect

Tells Vulcan which SQL dialect your models use.

Everything else has a default, so you can omit it.

Validation rules

Beyond the required keys, Vulcan checks these values at load time:

  • users[].username values must be valid DataOS usernames in the current tenant. Models referencing an unknown username are rejected at load time.

  • model_defaults.owner, when set explicitly, must be a username present in config.users. Config load fails if it references an unknown username.

  • Each model's owner field is validated against config.users at load time. Models referencing a username not listed in config.users are rejected.

  • analytics.api_key is required when analytics.enabled: true.

  • review.model is required to run vulcan review; the command raises without it.

  • vde: true is rejected for spark and trino gateway types.

  • version must be valid SemVer 2.0 (e.g. 0.1.2, 1.0.0-rc.1).

Environment variables

A few values come from the shell or .env, not from YAML:

Variable
Effect

DATAOS_TENANT_ID

Supplies/overrides tenant, if not already set directly in config.yaml.

DATAOS_RESOURCE_NAME

Overrides name from config.yaml.

DATAOS_RESOURCE_TAGS

Merged into tags from config.yaml.

TEAMS_WEBHOOK_URL

Recommended source for Teams webhook notification target URLs.

GRAPHQL_POLL_*

GraphQL execution polling tunables (replaces the old graphql/GraphQLConfig block).

RETRY_AFTER

GraphQL retry-after interval.

DEFAULT_TIMEZONE

Default timezone for GraphQL execution.

Migration from the legacy schema

If you have an older config.yaml, these keys moved or changed:

Old key
Replacement
Notes

virtual_environment_mode: full

vde: true

Old string values fail validation.

virtual_environment_mode: dev_only

vde: false (or omit)

vde defaults to false.

auto_categorize_changes (top-level)

plan.auto_categorize_changes

Now nested under plan.

include_unmodified (top-level)

plan.include_unmodified

Now nested under plan.

physical_schema_override

physical_schema_mapping

Auto-converted with a warning.

disable_anonymized_analytics

analytics.enabled

Move into the analytics block.

check_start, check_end, check_failure

dq_start, dq_end, dq_failure

Data quality notification events now use dq_* names.

metadata (in config.yaml)

usage.yaml

Move business usage guidance out of runtime config.

graphql / GraphQLConfig (in config.yaml)

GRAPHQL_POLL_*, RETRY_AFTER, DEFAULT_TIMEZONE env vars

GraphQL sidecar removed; served in-process at /semantic/graphql.

Quick migration checklist:

  1. Replace virtual_environment_mode: full with vde: true.

  2. Remove virtual_environment_mode: dev_only (or set vde: false explicitly).

  3. Add discoverable, version, alignment near the top of the file if you want non-default values.

  4. Make sure version is valid SemVer (0.1.2, not 0.1 or v0.1.2).

  5. Move business usage guidance from metadata: into usage.yaml. See Usage guidance.

  6. Move any DataOS auth extension hook to root-level after_authorize.

  7. Replace check_* notification events with dq_* event names.

  8. Remove any deprecated keys listed above.

  9. Set tenant/domain directly in config.yaml (as vulcan init now does), or set DATAOS_TENANT_ID in your shell or .env instead.

  10. Remove any graphql/GraphQLConfig block and set GRAPHQL_POLL_*, RETRY_AFTER, DEFAULT_TIMEZONE env vars if you relied on GraphQL execution tunables.

Best practices

Use environment variables for sensitive data like passwords and API keys. This keeps secrets out of your config files and makes it easier to manage different environments.

Set meaningful defaults in model_defaults to reduce boilerplate. If most of your models use the same dialect, start date, or cron schedule, set it once here instead of repeating it everywhere.

Enable linting to catch common errors early in development. Fix issues before they make it to production.

Use multiple gateways for different environments: dev, staging, prod. Test changes safely before deploying to production, with a different database configuration for each environment.

Last updated

Was this helpful?