Commit Graph

17 Commits

Author SHA1 Message Date
zbikmarc
17af2f69af providers/google: Add subnetwork_project field to enable cross-project networking in instance templates (#11110)
* Add subnetwork_project field to allow for XPN in GCE instance templates

* Missing os import

* Removing unneeded check

* fix formatting

* Add subnetwork_project to read
2017-01-12 16:05:13 +02:00
Paddy
121b587aec Fix instance/template metadata support
Update our instance template to include metadata_startup_script, to
match our instance resource. Also, we've resolved the diff errors around
metadata.startup-script, and people want to use that to create startup
scripts that don't force a restart when they're changed, so let's stop
disallowing it.

Also, we had a bunch of calls to `schema.ResourceData.Set` that ignored
the errors, so I added error handling for those calls. It's mostly
bundled with this code because I couldn't be sure whether it was the
root of bugs or not, so I took care of it while addressing the startup
script issue.
2016-12-05 02:45:28 -08:00
Christoph Blecker
be6b7c95b4 Update Google TestAcc to use Debian 8 images 2016-08-18 19:31:45 -07:00
James Nugent
edc89f2dcb Fix import formatting across code base 2016-04-18 17:28:46 -07:00
Bill Fumerola
ef0982895d provider/google: use non-deprecated image in acceptance tests, documentation 2016-03-26 09:55:28 -07:00
Matt Morrison
b5c5cbd5d4 Add more acceptance tests, and fix some test cases 2016-02-18 08:37:58 -08:00
Lars Wander
4c61acc8dc provider/google: remove conflicting names from acceptance tests 2016-01-05 16:57:24 -05:00
Lars Wander
8e8b9e763a provider/google: Added preemtible flag to instance_template 2015-10-30 16:07:11 -04:00
Clint Shryock
a9f813a93b provider/google: Misc. cleanups for tests to pass 2015-08-31 09:06:25 -05:00
Dave Cunningham
bd6e057c0d Fix #2901 2015-08-19 02:57:04 -04:00
Dave Cunningham
d5b089fc69 Use new autoscaler / instance group manager APIs. 2015-07-27 20:47:10 -04:00
Dave Cunningham
90c5bf8f0e Merge pull request #980 from BashtonLtd/gce_instance_template_network_update
Update Instance Template network definition to match changes to Instance.
2015-05-12 15:46:04 -04:00
Mitchell Hashimoto
1ea826f5ea Merge pull request #1238 from BashtonLtd/gce_update_instance_template_disk_tests
providers/google: Update GCE Instance Template tests now that existing disk must exist first.
2015-03-26 10:20:29 -07:00
David Watson
13dbe2e991 Update GCE Instance Template tests now that existing disk must exist prior to template creation. 2015-03-18 17:42:03 +00:00
David Watson
56c5854e5b Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
David Watson
c3776cae0f Update Instance Template network definition to match changes to Instances. 2015-02-16 17:04:56 +00:00
David Watson
f6cce72115 Add tests for Instance Template support to google provider. 2015-02-10 10:29:49 +00:00