Added support to read multiple accounts #81
Added support to read multiple accounts #81ntkathole wants to merge 1 commit intoRedHatQE:masterfrom
Conversation
ntkathole
commented
Nov 25, 2022
|
@ntkathole Holding your PR review for discussion on #79 and doubt if we should really go with multiple conditions and loops. Thats just making the code worst day by day. I think its the real time for OOPs to introduce and probably we should wait until that for this PR. We still have #79 supporting multiple accounts :) Any thoughts ? |
|
This is a common scenario to support clean up resources from different accounts. Especially when run swash as a scheduled service to do clean up. It might be not a good idea to switch account by modifying "~/cloudwash/settings.yaml" again and again. |
|
Hello @liangxiao1 , Thanks for commenting on the PR. I certainly agree with what you are saying here and also agree with the impact users have on changing the format of settings.yaml instead we could provide an alternate solution to the users for rolling through the multiple users , like creating a settings directory with multiple accounts etc! Thoughts @ntkathole ? |
|
Thanks, it is another important feature to specify customized setting files when run cli. |
Impact can be handled easily by supporting both old and new settings format and providing deprecation warning to let users know when old settings format is going to be removed. Let me know if you want to support both old and new settings file format. |