I am creating a copy of a VM(Compute Engine) from one project to another project, by taking a image of the boot disk and create a new instance using the image. I want to export and import the VM's other info as well, like Tags, machine-type, zone, scope etc.
I am using gcloud console scripts to take images & creating VMs etc, since I have to migrate/copy many VMs at a time.
Please suggest a way to import/export Tags, machine-type, zone, scope etc.