Comment 1 for bug 1147136

Revision history for this message
William Reade (fwereade) wrote :

You can currently switch between environments.yaml files by putting them in different dirs (production, beta, alpha) and setting $JUJU_HOME to the appropriate value per command.

It's not appropriate to set a different source for environments.yaml: juju stores important environment info (like the CA cert), by environment name, next to the environments.yaml file in which it is defined, and the risk of catastrophe caused by using two such files in the same dir seems to outweigh the inconvenience of specifying the environment variable.

But, hmm; would something like `--home envs/production` be useful to you? If so, that'd be very simple.