Saurabh M
10/17/2025, 8:30 PMkapa.ai
10/17/2025, 8:30 PMkapa.ai
10/17/2025, 8:31 PMSaurabh M
10/17/2025, 8:51 PMkapa.ai
10/17/2025, 8:51 PMkapa.ai
10/17/2025, 8:52 PMdisable_dbt_artifacts_autoupload, disable_run_results, etc.) are set globally in the vars section of your dbt_project.yml and are not designed to be overridden per model. The recommended and documented approaches are: - Disable artifact upload globally or by environment/target using variables in `dbt_project.yml`: yaml vars: disable_run_results: "{{ target.name != 'prod' }}" disable_tests_results: "{{ target.name != 'prod' }}" disable_dbt_artifacts_autoupload: "{{ target.name != 'prod' }}" disable_dbt_invocation_autoupload: "{{ target.name != 'prod' }}" This disables artifact uploads for all models except when the target is prod, for example. [See FAQ: Can I disable the on-run-end hooks or results uploading?](https://docs.elementary-data.com/oss/general/faq) - Enable or disable the entire Elementary package for specific environments: yaml models: elementary: +enabled: "{{ target.name == 'prod' }}" This disables all Elementary models except in production. There is no support in the knowledge sources for enabling artifact upload on a per-model basis by setting a variable in a model's config block. The variables that control artifact upload are evaluated at the project level, not at the individual model level. Summary: Your proposed approach (using a variable to disable artifact upload globally and then re-enabling it for specific models via model-level config) is not supported by Elementary OSS according to the current documentation and community discussions. Artifact upload control is only available at the project/environment level, not per model. If you need more granular control, this would require a feature request or custom development, as it is not currently possible with the documented configuration options in Elementary OSS. [Reference: FAQ and community discussions](https://docs.elementary-data.com/oss/general/faq)kapa.ai
10/17/2025, 8:52 PMkapa.ai
10/17/2025, 8:52 PMdisable_dbt_artifacts_autoupload, disable_run_results, etc.) are designed to be set globally in the vars section of your dbt_project.yml and are evaluated at the project or environment level—not at the individual model level. The documented and supported approaches are: - Disabling artifact upload globally or by environment/target using variables in `dbt_project.yml`: yaml vars: disable_run_results: "{{ target.name != 'prod' }}" disable_tests_results: "{{ target.name != 'prod' }}" disable_dbt_artifacts_autoupload: "{{ target.name != 'prod' }}" disable_dbt_invocation_autoupload: "{{ target.name != 'prod' }}" This disables artifact uploads for all models except when the target is prod, for example. [See FAQ: Can I disable the on-run-end hooks or results uploading?](https://docs.elementary-data.com/oss/general/faq) - Enabling or disabling the entire Elementary package for specific environments: yaml models: elementary: +enabled: "{{ target.name == 'prod' }}" This disables all Elementary models except in production. There is no support in the knowledge sources for enabling artifact upload on a per-model basis by setting a variable in a model's config block. The control is only available at the project/environment level, not per model. In summary: Your proposed approach (using a variable to disable artifact upload globally and then re-enabling it for specific models via model-level config) is not supported by Elementary OSS according to the current documentation and community discussions. If you need more granular control, this would require a feature request or custom development, as it is not currently possible with the documented configuration options in Elementary OSS [FAQ: Can I disable the on-run-end hooks or results uploading?](https://docs.elementary-data.com/oss/general/faq).