hashicorp / terraform-google-consul

A Terraform Module for how to run Consul on Google Cloud using Terraform and Packer
Apache License 2.0
94 stars 90 forks source link

Add image_project_id variable and change var.source_image to var.source_image_family #33

Closed gfenn-newbury closed 5 years ago

gfenn-newbury commented 5 years ago

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.

josh-padnick commented 5 years ago

Oh, I just saw you closed this.