google-cloud-platformgcloudgcloud-cli

How to rename existing 'named configurations' using gcloud cli in GCP?


I would like to know if there is a way to rename an existing 'gcloud topic configurations' e.g. I would like rename 'foo' to 'bar' in the below example.

I couldn't find anything on this in the gcloud reference documents.

enter image description here


Solution

  • Technically, it is not possible to change the name of that configuration using the gcloud command.

    However, you can change it doing this little workaround: