Search code examples
dbt

What is the .user.yml file? What is its purpose?


I'm starting with DBT. When I ran my project it created a .user.yml file. Its content:

{id: c8e8abd2-09a3-4699-b444-3ef7ee5b04e5}

It seems from this github issue that it's some kind of cookie, but I could not find any info anywhere on what its role is.

Can someone explain the purpose of this file? Should I add it to my .gitignore?


Solution

  • Just got answered on the dbt slack.

    The file just contains a cookie for dbt's anonymous usage tracking. It happened to land in my repo because I placed my profiles.yml in my repo. (my credentials are in environment variables). But normally it's rather created in ~/.dbt