-e should remember the environment in that session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
I like that I can "juju bootstrap -e my-ec2-environment"
But then I need to add a "-e my-ec2-environment" from then on when I am deploying and adding stuff. That's alot of typing! How about like how VCS systems do it:
$ juju bootstrap -e my-ec2-environment
Environment now set as my-ec2-environment
type: ec2
(then do stuff, no need to be explicit with the -e, then when I want to use my local stuff:)
$ juju switch-environment my-local-thing
Environment now set as my-local-thing
type: local
Then do stuff, I can then switch to any of my environments by demand, and then we just have convenience commands for it like:
juju list-environments - shows every one I've configured
juju environment - shows me which environment I am currently in.
I do run multiple envs at the same time though... sometimes even on purpose!
- ec2 (one email account) to run byobu-classroom
- ec2 (another email account) to run a demo stack
- local (because I was developing something locally when I had to do the impromptu demo above)
I could totally run them in separate screen shells though.