Commit Graph

27 Commits

Author SHA1 Message Date
Clint Shryock
a9f813a93b provider/google: Misc. cleanups for tests to pass 2015-08-31 09:06:25 -05:00
Dave Cunningham
a4037a0f61 Add ForceNew metadata_startup_script field 2015-07-01 21:24:34 -04:00
Dave Cunningham
27319e1366 Allow local SSDs, Fix #1088 2015-05-11 21:40:37 -04:00
Dave Cunningham
b39460bd62 Use a set for service account scopes. Fix #1759 2015-04-30 21:21:21 -04:00
Paul Hinze
7dab6a450a Merge pull request #1517 from hashicorp/f-simplify-google-instance
google: simplify instance metadata schema
2015-04-15 11:48:37 -05:00
Paul Hinze
a985b68edb google: simplify instance metadata schema
It doesn't need to be a List of Maps, it can just be a Map.

We're also safe to remove a previous workaround I stuck in there.

The config parsing is equivalent between a list of maps and a plain map,
so we just need a state migration to make this backwards compatible.
2015-04-15 11:01:35 -05:00
Paul Hinze
29c83231ce core: avoid diff mismatch on NewRemoved fields during -/+
fixes #1508

In a DESTROY/CREATE scenario, the plan diff will be run against the
state of the old instance, while the apply diff will be run against an
empty state (because the state is cleared when the destroy node does its
thing.)

For complex attributes, this can result in keys that seem to disappear
between the two diffs, when in reality everything is working just fine.

Same() needs to take into account this scenario by analyzing NewRemoved
and treating as "Same" a diff that does indeed have that key removed.
2015-04-14 17:23:30 -05:00
David Watson
56c5854e5b Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
Dave Cunningham
95943e4a3f Merge branch 'master' into gcp_image 2015-02-10 03:25:45 -05:00
Dave Cunningham
f307417694 Deprecated 'network', introduce 'network_interface' 2015-02-06 03:21:22 -05:00
Dave Cunningham
d9add1b513 Allow specifying project or full URL when specifying image 2015-01-29 20:00:02 -05:00
Sander van Harmelen
0abe48fa03 Fixing the acc tests
I do wonder when these tests where last run successfully… Must be quite
some time ago considering what I needed to fix in here 😉
2014-11-20 14:30:02 +01:00
Mitchell Hashimoto
08e7a5bd85 Merge pull request #372 from jgoldschrafe/feature-google-compute-disk-types
Configurable disk types for GCE
2014-10-08 10:50:38 -07:00
Jeff Goldschrafe
ac46b83119 Support IP forwarding on GCE instances
This change exposes the CanIpForward property of the Instance, allowing
users to create instances that are allowed to function as NAT or VPN
gateways.
2014-10-07 12:28:20 -04:00
Jeff Goldschrafe
69c09c1cb7 Configurable disk types for GCE
Supports configuring the disk type for Google Compute Engine disk
resources. Both `google_compute_disk` and `google_compute_instance`
disk types are supported.

Resolves #351.
2014-10-07 01:40:20 -04:00
Mitchell Hashimoto
51bfd6f6ef providers/google: tests passing, compiling 2014-09-16 17:17:09 -07:00
Mitchell Hashimoto
6fa0b65563 fmt 2014-09-09 13:43:03 -07:00
Dainis Tillers
1a6fc051ba Added - flag to set whether disk needs to be delete or not when instance terminates 2014-09-02 16:52:49 +03:00
Mitchell Hashimoto
9b430b911e providers/google: compute_instance supports updating tags 2014-08-26 13:52:18 -07:00
Mitchell Hashimoto
fcba6626e4 providers/google: compute_instance supports updating metadata 2014-08-26 13:48:49 -07:00
Mitchell Hashimoto
f4113ecfda providers/google: support disks coming from other disks 2014-08-25 21:35:23 -07:00
Mitchell Hashimoto
7044ce907a providers/google: can assign IP to instance 2014-08-25 15:47:21 -07:00
Mitchell Hashimoto
0f0c34b674 providers/google: compute_instance supports metadata 2014-08-25 15:25:45 -07:00
Mitchell Hashimoto
d42c75315c providers/google: support tags on compute_instance 2014-08-25 15:10:30 -07:00
Mitchell Hashimoto
25e598a153 providers/google: compute_instance 2014-08-25 14:57:17 -07:00
Mitchell Hashimoto
376d1d6083 providers/google: google_compute_address 2014-08-25 12:55:08 -07:00
Mitchell Hashimoto
80e2023e6b providers/google: first pass 2014-08-25 11:48:20 -07:00