Commit Graph

7 Commits

Author SHA1 Message Date
Dana Hoffman
da2a1b5659 provider/google: Handle all 404 checks in read functions via the new function 2017-05-10 14:50:19 +03:00
Dana Hoffman
69c62b59a5 provider/google: turn compute_instance_group.instances into a set (#12790) 2017-03-22 17:47:41 -07:00
Igor Wiedler
a3188d0885 [provider/google] Use resource-specific project when waiting for creation
Creating most google cloud resources uses the compute_operation to
wait for the creation to complete. However, the computeOperationWait*
functions always uses the global `config.Project`, instead of the resource-
specific one.

This means that creating resource in a project other than the main one
fails with a 404 on the operation resource.

This patch uses the project from google_compute_instance instead of the
global one.
2016-06-10 11:55:21 +02:00
Seth Vargo
e2c5e9a1d5 Update documentation to include new "project" attribute
This commit also normalizes the format we display attributes.
2016-04-10 17:34:15 -04:00
Seth Vargo
9756d62378 Accept "project" as an attribute to GCP resources
This is the first step in removing the config dependency on "project".
This change is backwards-compatible because the value for this new
attribute defaults to the value from the provider.
2016-04-10 13:01:24 -04:00
Bill Fumerola
1de15ff2ef google_compute_instance_group: Correct error message for invalid instances 2016-03-18 09:25:28 -07:00
Alex Crowe
4cf19278e7 Added google_compute_instance_group resource 2016-02-26 18:41:35 +00:00