Skip to content

← All questions

config show --explain says envYaml for a value that came out of .env.staging

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

bash
sdods config show -p demo-shop -e staging --explain
text
path                              layer    value
env.api.baseUrl                   envYaml  https://jsonplaceholder.typicode.com
env.ui.baseUrl                    envYaml  https://www.saucedemo.com
env.vars.standardPassword         envYaml  ***
project.screenshots.onlyOnFailure envYaml  false
project.screenshots.policy.@smoke project  scenario
runtime.retries                   defaults 0

The documented layer names include dotenv, but standardPassword is only in the yaml as a ${VAR} and its actual value comes from .env.staging. Why does the row say envYaml and not dotenv?

3 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related