Commit Graph

9 Commits

Author SHA1 Message Date
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
Evan Brown
cc09f9cfee provider/google: Validate VPN tunnel peer_ip 2016-03-07 21:35:08 -08:00
Matt Morrison
9fd044c0f0 Update google resources where necessary to make use of subnetworks, update som docs 2016-02-18 08:37:58 -08:00
Lars Wander
9041d2a8a8 provider/google: Fix VPN Region bug 2016-02-13 09:47:35 -05:00
Lars Wander
af69d1cd76 provider/google: Updated Read(..) behavior to handle deleted resources 2016-01-07 10:39:04 -05:00
Lars Wander
05503f4f9c Refactored wait code to delete duplicated code & share functionality 2015-09-24 16:30:12 -04:00
Lars Wander
5baf116f79 Documentation and tests written for GCE VPN config 2015-09-15 16:13:48 -04:00