# Enviornment Variable

**URL:** <https://discourse.getdbt.com/t/enviornment-variable/12523>\
**Category:** Help\
**Created:** [March 18, 2024, 6:08pm UTC](https://discourse.getdbt.com/t/enviornment-variable/12523 "2024-03-18T18:08:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nileshbansal.nmims](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/nileshbansal.nmims/32/3801_2.png) [@nileshbansal.nmims](https://discourse.getdbt.com/u/nileshbansal.nmims)\
**Post date:** [March 18, 2024, 6:08pm UTC](https://discourse.getdbt.com/t/enviornment-variable/12523/1 "2024-03-18T18:08:31Z")

</div>

I am trying to create environment variable let say dbt\_test which exclude test when any job run.

By default i can add that in enviornment variable tab but as i dont have permission so trying to test it by creating a env\_var in dbt\_project.yml to exclude test.

Var\_test : “{{ env\_var(\”dbt\_test\_exclude\”,\”’—exclude test1 test2’\”) }}”

But when i am running below command i can see that test running

dbt run —select abcd

Abcd is a model that test1 and 2 refer

But i can see test are getting executed

Can anyone help
