Skip to content

← All questions

Environment "qa" is not in envs.available [local, staging] — I created envs/qa.yaml already

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.

Wrote projects/demo-shop/envs/qa.yaml by copying staging.yaml and changing the URLs. Then:

bash
sdods run -p demo-shop -e qa -l api
text
✖ ENV_NOT_FOUND: Environment "qa" is not in envs.available [local, staging] for project demo-shop.
  hint: Add "qa" to envs.available in sdods.project.yaml and create envs/qa.yaml.
  docs: https://docs.sdods.com/docs/guides/configuration

The file is right there. Why does it also need declaring?

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