Commit Graph

21 Commits

Author SHA1 Message Date
Marc Rooding
5e260751ec Support the container cluster local ssd count property 2017-03-22 09:39:36 +01:00
Dana Hoffman
834ecc4934 provider/google: add support for a few more fields in NodeConfig 2017-03-15 15:11:09 -07:00
Paddy
d5d0f4f0a8 Merge pull request #12486 from hashicorp/paddy_4336_instance_manager_api_bug
provider/google: fix container instance group URLs
2017-03-13 11:15:17 -07:00
Paddy
6ea1b17f8f provider/google: fix container instance group URLs
Google Container Engine's cluster API returned instance group manager
URLs when it meant to return instance group URLs. See #4336 for details
about the bug.

While this is undeniably an upstream problem, this PR:

* detects the error, meaning it will work as expected when the API is
  fixed.
* corrects the error by requesting the instance group manager, then
  retrieving its instance group URL, and using that instead.
* adds a test that exercises the error and the solution, to ensure it is
  functioning properly.
2017-03-06 21:14:32 -08:00
Dana Hoffman
2486f618d8 provider/google: initial commit for node pool resource (#11802)
provider/google: initial commit for node pool resource
2017-03-06 14:59:24 -08:00
Dana Hoffman
562c25dba8 provider/google: always set additional_zones on read 2017-02-07 19:21:00 -08:00
Dana Hoffman
e0663f35b2 providers/google: disallow specifying the original zone in additional_zones, change field to computed 2017-02-07 11:02:02 -08:00
Dana Hoffman
b6f8934b2c provider/google: only set additional zones on read if it had been set in the config 2017-02-02 17:37:03 -08:00
Reinhard Nägele
d1e6adf928 Add 'ForceNew: true' to additional_zones 2017-01-13 19:39:35 +01:00
Reinhard Nägele
07ce12d0f7 [GKE] Allow additional zones to be configured 2017-01-04 07:37:57 +01:00
Christoph Blecker
3b1442f355 Use node_version during google_container_cluster creation (#10817) 2016-12-18 13:50:46 +00:00
Christoph Blecker
706f4e5daa Add support for scope aliases to google_container_cluster 2016-11-14 15:50:24 -08:00
Matt Morrison
c502799c23 Make network attribute more consistent.
Some google resources required network be refernced by resource URL (aka self_link), while others required network name.
This change allows either to be supplied.

DRY it out, and add a fix for #5552.
2016-09-05 08:02:54 +12:00
Evan Brown
421c1f6e9b Update docs and fix computed container settings 2016-04-14 16:33:52 -07:00
Evan Brown
0653c5272c provider/google: Support manual subnetworks and addons config 2016-04-14 16:31:24 -07: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
Ian Duffy
5d940efddf Change resource.StateChangeConf to use an array for target states
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-01-21 01:20:41 +00:00
Lars Wander
af69d1cd76 provider/google: Updated Read(..) behavior to handle deleted resources 2016-01-07 10:39:04 -05:00
djworth
1920934c5e Convert int to int64 when building the cluster.NodeConfig struct
related to issue https://github.com/hashicorp/terraform/issues/2901
2015-08-11 08:27:32 -04:00
Radek Simko
c6db486ab8 Add new resource - google_container_cluster 2015-07-11 18:56:24 +01:00