I have two different projects in GCP and I created useful image in project 1. I want to have this image in project 2. How can I do it?
2 Answers
I found a solution.
gcloud compute --project=project2 images create image-2 --source-image=image-1 --source-image-project=project
You can also create image from Google Cloud Console
From your new destination project, select Create Image ans select source == image (See screenshot)
-
This does not allow you to get the image from another project. Commented Sep 25, 2023 at 15:59