Skip to content

← All questions

Does ${VAR} in a CSV dataset resolve from .env.staging, or only from the shell?

Asked 4,610 views3 answers

Our data/common/users.csv has a password column holding ${TEST_MEMBER_PASSWORD} so the value is not in the repo. It works on my machine, where the variable is exported. On a colleague's machine, where it is only in projects/demo-shop/.env.staging, the logins fail — and not with a config error, just a failed login.

Is the dotenv layer supposed to reach dataset rows, or is the shell the only source there?

asked by Rasha Halabi572 ·

3 answers

Know the answer?

Reviewed before it appears. Wrap commands and output in triple backticks and they will render as a code block.

Have a different question? Ask it.

Related