Igor Wiedler
ad9a3fe44d
[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
29b073158f
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
bacf5abf3c
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
Matt Morrison
6ccfd8db93
Fix Google compute network forces new resource
2016-02-22 21:55:42 +13:00
James Nugent
b32a863ed3
provider/google: Clarify comment about defaults
2016-02-18 08:37:58 -08:00
James Nugent
31f47e5abf
Correct format specifier
2016-02-18 08:37:58 -08:00
Matt Morrison
d6039af398
Add subnetwork resource ACC tests, additional doc updates
2016-02-18 08:37:58 -08:00
Matt Morrison
430ed48a44
Update google resources where necessary to make use of subnetworks, update som docs
2016-02-18 08:37:58 -08:00
Matt Morrison
aedc5ba4af
[WIP] support for creating distributed networks, and subnetwork resources
2016-02-18 08:37:57 -08:00
Lars Wander
cef0589498
provider/google: Updated Read(..) behavior to handle deleted resources
2016-01-07 10:39:04 -05:00
Lars Wander
158af9d0d4
Refactored wait code to delete duplicated code & share functionality
2015-09-24 16:30:12 -04:00
David Watson
33496eeaf8
Update Google API import to point to the new location.
2015-03-18 17:10:39 +00:00
David Watson
91b000fd31
Add SelfLink field to GCE network resource.
2015-02-10 11:14:37 +00:00
Mitchell Hashimoto
f2d7900e63
providers/google: on refresh, treat 404 as resource gone
2014-08-25 22:49:14 -07:00
Mitchell Hashimoto
673b62db96
providers/google: check operations for errors
2014-08-25 22:44:27 -07:00
Mitchell Hashimoto
0c2a0aeeba
providers/google: proper resource type in error message
2014-08-25 22:13:37 -07:00
Mitchell Hashimoto
8639c104a2
providers/google: compute_firewall
2014-08-25 22:09:38 -07:00
Mitchell Hashimoto
7ad39614fa
providers/google: compute_network
2014-08-25 21:41:15 -07:00