Skip to main content

About properties.yml context

The following context methods and variables are available when configuring resources in a properties.yml file.

Available context methods:

Available context variables:

Example configuration

properties.yml
# Configure this model to be materialized as a view
# in development and a table in production/CI contexts

models:
- name: dim_customers
config:
materialized: "{{ 'view' if target.name == 'dev' else 'table' }}"
0