This PR adds the image_project_id variable, allowing the user to specify the project from which the source_image is pulled. If this variable remains empty, the value in gcp_project_id is used.
This PR also changes google_compute_image.image to use family rather than name. This allows newer custom images in the same family to be used without having to modify the terraform code.
This PR adds the
image_project_id
variable, allowing the user to specify the project from which thesource_image
is pulled. If this variable remains empty, the value ingcp_project_id
is used.This PR also changes
google_compute_image.image
to usefamily
rather thanname
. This allows newer custom images in the same family to be used without having to modify the terraform code.