Reputation: 918
It looks that unlike labels, image family cannot be changed after the creation of the image. It is so?
Upvotes: 2
Views: 2035
Reputation: 1662
You have to create a new image from the existing one using gcloud with --source-image
gcloud compute images create ${PROD_IMAGE} --family=${PROD_FAMILY} \
--source-image=${DEV_IMAGE} \
--source-image-project=${GCP_PROJECT} --project=${GCP_PROJECT}
Upvotes: 4