Commit Graph

495 Commits

Author SHA1 Message Date
Dana Hoffman
dc18b53c15 provider/google: fix compute instance panic with bad disk config (#14169) 2017-05-03 14:30:36 -07:00
Dana Hoffman
0c3a4a240f update list of services in ignoreUnenablableServices test (#14168) 2017-05-03 14:29:48 -07:00
Christoph Tavan
349a9eaa34 provider/google: Improve error messages in backend_service test 2017-05-02 23:18:41 +02:00
Christoph Tavan
3e72f23826 provider/google: Improve backend service error handling
Unset id in case the backend service cannot be created. This basically
updates these lines of code to match the more modern style which is
being used e.g. for the google_compute_instance resource.
2017-05-02 23:18:41 +02:00
Christoph Tavan
1054fb189d provider/google: Add support for backend buckets
Adds a new resource google_compute_backend_bucket according to
https://cloud.google.com/compute/docs/reference/latest/backendBuckets

Fixes hashicorp/terraform#12505
2017-05-02 23:18:40 +02:00
Christoph Tavan
2368d8ee7e provider/google: Update Google Compute godep 2017-05-02 23:08:23 +02:00
Dana Hoffman
226361184e provider/google: add support for networkIP in compute instance templates (#13515) 2017-05-01 17:16:05 -07:00
Dana Hoffman
1522712cdb provider/google: Add pagination for reading project services (#13758) 2017-05-01 16:33:51 -07:00
Dana Hoffman
d03f802be2 provider/google: ignore certain project services that can't be enabled directly via the api (#13730) 2017-04-27 13:00:54 -07:00
Paddy
3e36e79f63 Merge pull request #14045 from hashicorp/paddy_project_metadata_tests
provider/google: fix project metadata tests
2017-04-27 11:52:26 -07:00
Paddy
6ef4c9ec61 Fix both Radek & Dana's comments.
Style nits, but clean code is happy code.
2017-04-27 11:39:13 -07:00
Paddy
ddf9bb389f provider/google: fix project metadata tests
Update our project metadata tests to stand up their own projects, so
they don't trample all over each other anymore.

The fixes for this were more invasive than I had hoped they would be,
but the tests all pass now (when run sequentially) and there's no reason
for them not to pass when run in parallel.
2017-04-27 10:28:31 -07:00
Paddy
cda752bee0 provider/google: randomize network data source test name.
We have tests failing because we hard-coded the network name in our
network data source test. By randomizing it, we don't fix the dangling
resource problem, but do make the tests pass again.
2017-04-27 08:52:02 -07:00
Paddy
6290d5aff1 Merge pull request #14012 from danawillow/tests
provider/google: a few quick test fixes
2017-04-26 14:38:01 -07:00
Dana Hoffman
fa060b2aa6 provider/google: a few quick test fixes 2017-04-26 13:24:40 -07:00
Dana Hoffman
c991417a0b provider/google: fix panic in GKE provisioning with addons (#13954) 2017-04-26 11:35:19 +01:00
Jake Champlin
a846c6625d Merge pull request #13952 from danawillow/is-13823
provider/google: documentation and validation fixes for forwarding rules
2017-04-25 18:51:14 -04:00
Dana Hoffman
239010d341 provider/google: add attached_disk field to google_compute_instance (#13443) 2017-04-25 13:20:02 -07:00
Dana Hoffman
cfcbdb7b0f provider/google: documentation and validation fixes for forwarding rules 2017-04-25 13:03:36 -07:00
Dana Hoffman
348086cbe0 provider/google: Make ports in resource_compute_forwarding_rule ForceNew (#13833) 2017-04-21 20:47:02 +03:00
stack72
962ed6c5b8 Merge branch 'olakar_g-network-import' of https://github.com/skalle/terraform into skalle-olakar_g-network-import 2017-04-21 12:41:09 +03:00
Ola Karlsson
55469933ba Adding Import to the Google network resource 2017-04-21 01:58:22 +00:00
Paddy
b562da92d4 Merge pull request #13671 from JDiPierro/google_address_name_fix
provider/google: Set name field when reading addresses
2017-04-20 13:14:57 -07:00
Alexander
94baf7e138 provider/google: BigQuery Dataset (#13436)
* Vendor BigQuery

* Add resource

* Add tests

* Add documentation

* Remove named import

* Remove `retain_on_delete`

* Fix formatting
2017-04-20 09:47:38 -07:00
Justin DiPierro
fe5e2ab2a5 Google Addresses: Set name field on read 2017-04-14 15:03:31 -04:00
Dana Hoffman
8653677e70 provider/google: Unset the id for resource_google_project if the create operation fails (#13644) 2017-04-13 16:16:47 -07:00
Mathieu Herbert
aa913e6dee provider/google: datasource subnetwork and network (#12442)
* first version of this datasource

* add network and subnetwork datasource and documentation

* modify sidebar reference in documentation

* fix elements after review on network and subnetwork datasources

* fix fmt on Google provider.go

* modify code with the review

* modify documentation layout order

* fix alphabetic order in provider.go

* fix rebase issue and documentation datasource => data
2017-04-13 13:25:29 -07:00
Paddy
3e8a5d272e Merge pull request #13635 from hashicorp/paddy_fix_node_version
provider/google: bump container cluster version in tests.
2017-04-13 13:23:47 -07:00
Paddy
0d5154739d Merge pull request #13270 from JDiPierro/google_address_importability
Google address importability
2017-04-12 15:46:08 -07:00
Dana Hoffman
713dfc409d provider/google: Add node_pool field in resource_container_cluster. (#13402) 2017-04-12 12:57:53 -07:00
Paddy
6a47748f2c provider/google: bump container cluster version in tests.
The version we were using has been deprecated and is no longer
available, making the withVersion test no longer pass. I've bumped it to
the latest available version.
2017-04-12 12:38:45 -07:00
Justin DiPierro
29ab4b189c Importability for Google Compute Global Address 2017-04-01 13:25:34 -04:00
Justin DiPierro
0099d293a3 Google Compute Address Importability 2017-04-01 13:22:39 -04:00
Radek Simko
6d16fa093a provider/google: Mark GKE pass as sensitive (#13148) 2017-03-29 11:22:33 +01:00
Dana Hoffman
69c62b59a5 provider/google: turn compute_instance_group.instances into a set (#12790) 2017-03-22 17:47:41 -07:00
Dana Hoffman
65ab2a6c3a provider/google: replace instance group manager urls with instance group urls in container cluster tests 2017-03-22 16:33:11 -07:00
Marc Rooding
5e260751ec Support the container cluster local ssd count property 2017-03-22 09:39:36 +01:00
Dana Hoffman
01a62e71cd Merge pull request #12743 from danawillow/gke-nodeconfig
provider/google: add support for a few more fields in NodeConfig
2017-03-21 15:24:14 -07:00
Dana Hoffman
834ecc4934 provider/google: add support for a few more fields in NodeConfig 2017-03-15 15:11:09 -07:00
Paddy
d3f1edd9f0 provider/google: drop the account file.
This was already marked as removed, but the way the provider handled it,
people were still being prompted for input anyways. This removes it from
the provider entirely, so people won't be prompted for input.
2017-03-15 11:00:54 -07:00
Dana Hoffman
c551e4e51d provider/google: Check all fields in GKE tests instead of just that the resource exists (#12147) 2017-03-14 17:50:58 -07:00
Paddy
fa821f4cd9 Merge pull request #12659 from hashicorp/paddy_remove_deprecated_gcp_project_fields
provider/google: Remove deprecated project fields.
2017-03-14 16:52:40 -07:00
Paddy
4c64b14024 Prune dead function.
This function isn't called anymore, so let's get rid of it.
2017-03-14 16:38:40 -07:00
Paddy
0c2ea60b02 Merge pull request #12668 from hashicorp/paddy_deprecate_google_credentials_file
provider/google: remove deprecated account_file field.
2017-03-14 13:23:59 -07:00
Paddy
36f420c98f Merge pull request #12663 from hashicorp/paddy_deprecate_backend_region
provider/google: remove the backend region field
2017-03-14 13:00:07 -07:00
Paddy
6c3261d149 Remove validateAccountFile function.
As @danawillow noticed, if the field is removed, we don't need to
validate it. Which means more deleting code!
2017-03-14 12:56:02 -07:00
Paddy
479e027d4c Merge pull request #12662 from hashicorp/paddy_9051_forwarding_rule_cycle
provider/google: fix single port diff cycle
2017-03-14 12:49:47 -07:00
Paddy
59b6e2682a Merge pull request #12387 from hashicorp/paddy_11763_gcp_iam_diff
provider/google: ignore expanded v collapsed policies in diff
2017-03-14 12:48:05 -07:00
Paddy
f95b8ccbe1 Merge pull request #12223 from hashicorp/paddy_10984_better_image_resolution
provider/google: upgrade our image resolution logic
2017-03-13 23:45:12 -07:00
Paddy
0af6cb1aa3 Fix variable indents.
Tabs vs spaces is the worst. I really need a way to run terraform fmt on
these inline configs.
2017-03-13 23:23:32 -07:00