Suggestion: Allow compartment name in addition to compartment-id
Quality of life suggestion.
Example if I run:
oci os bucket list --compartment-id
I would prefer to be able to run:
oci os bucket list --compartment
The UI has a tendency to report the compartment name. This affects a number of areas / commands.
There does not seem to be any way to achieve this with CLI version 2.4.27 apart from pulling the compartment IDs using "iam compartment list".
Thanks for considering
Thanks Carter for your suggestion. It seems a useful change; however needs to be thought through as it affects most of the command which use compartment-id. We will get back once we have more info on this request.
As another option, the UI could report the compartment IDs at least alongside the compartment names.