Hi Guys,
I have 2 cloud environment which require deployments. Trouble is I am not able to toggle the configuration for the 2 Org IDs, 2 Program IDs, 2 Environment IDs.
I tried - aio logout but that just logs me out of the user ID.
How can I support multiple configurations for 2 distinct orgs and program IDs?
thanks,
CL
Solved! Go to Solution.
Views
Replies
Total Likes
You can use the aio config module to clear up the configurations -
aio config clear -f
aio config delete -f
This should get rid of any configurations that are already stored
Source - https://github.com/adobe/aio-cli-plugin-configBe sure to use the local flag as suggested by @Shashi_Mulugu for setting up config restricted to a particular directory.
Hope this helps!
Rohan Garg
Views
Replies
Total Likes
@_CL use -l of --local flag while setting orgids, program id's and environment IDs so that that config gets stored locally to that folder..
So you can have two different folders for 2 different cloud envs and use local flag
$ aio config:set -l cloudmanager_orgid <org-id>
$ aio config:set -l cloudmanager_programid <program-id>
$ aio config:set -l cloudmanager_environmentid <env-id>
thanks @Shashi_Mulugu and how do I clear the already persisted value?
I tried https://github.com/adobe/aio-cli-plugin-config listed aio config clear -g but that didn't work!
Currently my terminal auto picks a particular orgid, programid and environmentid without scope of pointing to another one!
Views
Replies
Total Likes
You can use the aio config module to clear up the configurations -
aio config clear -f
aio config delete -f
This should get rid of any configurations that are already stored
Source - https://github.com/adobe/aio-cli-plugin-configBe sure to use the local flag as suggested by @Shashi_Mulugu for setting up config restricted to a particular directory.
Hope this helps!
Rohan Garg
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies