Commit Graph

1214 Commits

Author SHA1 Message Date
The Magician
e6ddd16269 More import formats and fix name validation for spanner databases
Fixes #2277
2018-12-20 17:22:22 -08:00
The Magician
fd6666b3ff Output from magician generating into ga and beta providers (#2271)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-20 17:22:22 -08:00
The Magician
4c20b7eeac Add support for google_storage_object_access_control (#2256) 2018-12-20 17:22:22 -08:00
The Magician
955b25a8e5 Add import tests for google_cloudiot_registry (#2276)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
a3eea03faa Fix Composer Environment machineType parsing
Fixes #2227
2018-12-20 17:22:22 -08:00
The Magician
bd348c5797 changes to (r)igm so that resources can be converted from beta back to ga (#2260)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-20 17:22:22 -08:00
The Magician
e1f4976c64 Add more import paths for google_service_account. (#2261) 2018-12-20 17:22:22 -08:00
The Magician
c98140f0db Autogenerate google_compute_url_map (#2245)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
Chris Stephens
b8de3fd850 Deprecate network fields (#2235)
* removing old removed network fields

* Remove ipv4range option
2018-12-20 17:22:22 -08:00
The Magician
586f1e98c3 stop generating beta resources/fields (#2242)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-20 17:22:22 -08:00
Chris Stephens
ba001b386b Remove service account policydata (#2247)
* Removing policy_data from service account

* Remove policy_data tests that aren't needed.
2018-12-20 17:22:22 -08:00
The Magician
ca0921cb05 Support default booleans for Terraform configs (#2222) 2018-12-20 17:22:22 -08:00
Chris Stephens
a0e2d50331 Change deprecated fields back to 'Removed' (#2241)
* Change deprecated fields back to 'Removed'

To provide a better user experience we're going to mark the fields as removed
so that users will get a more accurate error message. We will follow up a while
later to actually remove them from schema.
2018-12-20 17:22:22 -08:00
Chris Stephens
192684a7f6 Removing create_timeout from compute image (#2244) 2018-12-20 17:22:22 -08:00
Chris Stephens
c4db896d39 Test failures (#2250)
fix disk encrypt tests
fxing compute instance data source tests
fixing the compute instance migration tests
2018-12-20 17:22:22 -08:00
The Magician
5f236ec8e8 Moving raw_key properties back to 'Removed' (#2248) 2018-12-20 17:22:22 -08:00
Labesse Kévin
293a63e74a adding attribute family for bigtable_table (#2228)
Fix #1576
2018-12-20 17:22:22 -08:00
The Magician
0008f6d840 PR from HEAD of Magic Modules after long-running PR merged in. (#2246) 2018-12-20 17:22:22 -08:00
Chris Stephens
a93c57e76a Don't allow destroying backend buckets in dataproc (#2224)
Removing the delete_autogen_bucket property
Buckets will not be deleted when a dataproc resource is destroyed
2018-12-20 17:22:22 -08:00
The Magician
6670f0cccc Fix empty TypeList expands in generated resources (#2233)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
Riley Karson
5eab9af814 Make google_sql_database_instance authoritative. (#2203) 2018-12-20 17:22:22 -08:00
The Magician
22ecabd739 Add documentation support to the stackdriver alertPolicy (#2226)
<!-- This change is generated by MagicModules. -->
/cc @chrisst
2018-12-20 17:22:22 -08:00
Riley Karson
a9b6e3f5e1 Make google_compute_project_metadata authoritative. (#2205) 2018-12-20 17:22:22 -08:00
Chris Stephens
50fe1b6c83 Remove address and create_timeout from instance (#2219) 2018-12-20 17:22:22 -08:00
The Magician
eafe197070 Remove deprecated raw_key convenience property (#2209)
Removing disk_encryption_key_sha256 and disk_encryption_key_raw and removing the custom diff logic associated with them.

<!-- This change is generated by MagicModules. -->
/cc @chrisst
2018-12-20 17:22:22 -08:00
The Magician
6cfaa24ef0 labelfingerprint is beta for resources where labels are beta (#2206) 2018-12-20 17:22:22 -08:00
Riley Karson
8c42015451 Make google_compute_instance metadata authoritative. (#2208) 2018-12-20 17:22:22 -08:00
Nathan McKinley
902675c324 Reverting 1.20 and 1.19 cherrypick branches. 2018-12-20 17:22:22 -08:00
Nathan McKinley
93ffe28133
add sql private ip to ga provider (#2665) 2018-12-13 15:45:09 -08:00
Riley Karson
4a0ee14304
Duplicate what tpgb does for master_ipv4_cidr_block (#2661)
Looks like we missed a couple lines while cherrypicking; copied these from tpgb.
2018-12-13 10:56:59 -08:00
The Magician
73d127a387 Fix spanner database iam binding import (#2603) 2018-12-12 17:23:35 -08:00
The Magician
9e566cc0be Fix project services tests by using a service without any dependencies (#2645) 2018-12-12 17:23:35 -08:00
Paddy
aec43adc25 Accommodate the new iamcredentials service in tests 2018-12-12 17:23:35 -08:00
Riley Karson
b885cdaf87 Fix deprecated convenience fields in disk. 2018-12-12 17:23:35 -08:00
The Magician
a138701b75 Fix for permadiff in container cluster caused by beta resource. (#2488) 2018-12-12 17:23:35 -08:00
The Magician
aafc6b1920 Fix project services tests by using a service without any dependencies (#2645) 2018-12-12 17:23:35 -08:00
The Magician
e07e1ba4e8 Add router nat resource. For TPG #2249. (#2576) 2018-12-12 17:23:35 -08:00
Paddy Carver
979e846f4e Fix the breaking change in sqladmin.
This is the diff after running GoogleCloudPlatform/magic-modules#690.
We're applying it manually to fix the build, because the magician won't
pull the code to create this PR until the code can be built.
2018-12-12 17:23:35 -08:00
The Magician
e49b23a6ee Fix nested read in Snapshot. (#2593)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
The Magician
24138aa844 Deprecate convenience fields in google_compute_snapshot (#2572)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
Nathan McKinley
de52ccdf3b Add deprecation message to resource_google_project_iam_custom_role.deleted. 2018-12-12 17:23:35 -08:00
Nathan McKinley
68f4590aa7 Compute project metadata reads were failing on import. 2018-12-12 17:23:35 -08:00
The Magician
a5f1e6002c Container cluster changes ancillary to beta support for autoprovisioning. (#2415) 2018-12-12 17:23:35 -08:00
The Magician
ed2fa7266d Autogenerate {{Resource}}Destroy in tests. (#2317) 2018-12-12 17:23:35 -08:00
Riley Karson
b321a6260b Add update_strategy deprecation message to 1.20.0. (#2575)
Part of https://github.com/terraform-providers/terraform-provider-google/issues/2551
2018-12-12 17:23:35 -08:00
The Magician
63c8a1babe Add support for content-based load balancing to google_compute_health_check (#2550)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
Chris Stephens
b16f2a1b5d Merge pull request #2502 from modular-magician/codegen-pr-933
New Resource: Stackdriver uptime check
2018-12-12 17:23:35 -08:00
Manuel Correa
decc9db551 Add support for data source 'google_iam_role' (#2482)
Add `google_iam_role` data source to be able to fetch and query for GCP IAM roles permissions.
2018-12-12 17:23:35 -08:00
The Magician
8256815662 Add billing account IAM (#2413) 2018-12-12 17:23:35 -08:00
Ben Vickers
fceefe6cd1 Add the sql ssl (client) cert resource (#2290)
* add the sql client cert resource

* correct schema ordering for sql ssl cert resource
2018-12-12 17:23:35 -08:00
The Magician
e72103301b Add provider version to useragent. (#2442)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
The Magician
8da6d3b181 Update pubsub topic to read after create, same as TPG #2346 (#2469)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-12 17:23:35 -08:00
Chris Stephens
7a4893f83c Merge pull request #2452 from modular-magician/codegen-pr-896
Stackdriver notification channel
2018-12-12 17:23:35 -08:00
Chris Stephens
14ea8d6f06 Merge pull request #2451 from modular-magician/codegen-pr-895
New Resource: Stack Driver Group
2018-12-12 17:23:35 -08:00
The Magician
4ebac8a923 Fix disk snapshot expand/encode, kmsKeyName decoder (#2450)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
Nathan McKinley
bbaf961dda make fmt 2018-12-12 17:23:35 -08:00
Chris Stephens
072370d4c5 Merge pull request #2430 from modular-magician/codegen-pr-882
Fix ci tests
2018-12-12 17:23:35 -08:00
The Magician
b90091e926 Add import support to project metadata. (#2423) 2018-12-12 17:23:35 -08:00
The Magician
1ecab9556a Add support for new-style cloud functions triggers. (#2412)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
The Magician
09b344057c Deprecated network_interface.address in code in instance template. (#2394)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
The Magician
4570cd119a Regional Clusters are GA followup (#2387)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
The Magician
b08884f49e regional and private clusters are in GA now (#2364)
<!-- This change is generated by MagicModules. -->
/cc @danawillow

Fixes #2286
2018-12-12 17:23:35 -08:00
The Magician
8f6ddefe4f Generate DefaultObjectAccessControl in Terraform (#2358)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
Riley Karson
161bbe3ecf Remove duplicate storage_object_access_control test. (#2349)
blocking https://github.com/GoogleCloudPlatform/magic-modules/pull/630

This resource won't be tested between this merging and the MM pr merging
2018-12-12 17:23:35 -08:00
The Magician
b7801660c9 add retries on create for container cluster (#2352)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-12 17:23:35 -08:00
The Magician
b857fd457c Update composer timeouts (#2354)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-12 17:23:35 -08:00
The Magician
175fe793f4 Increase redis timeouts (#2351)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-12 17:23:35 -08:00
Chris Stephens
49d8d6f2f3 support KMS encryption for instance templates 2018-12-12 17:23:35 -08:00
The Magician
abf53cd91a Add support for google_cloudfunctions_function runtime (#2340)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
Murcurio
7da3ae346a Added London and Sydney BigQuery regions 2018-12-12 17:23:35 -08:00
The Magician
cfb5ed75e8 More import formats and fix name validation for spanner databases
Fixes #2277
2018-12-12 17:23:35 -08:00
The Magician
4a4a33da8a Output from magician generating into ga and beta providers (#2271)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-12 17:23:35 -08:00
The Magician
7e5749ad35 Add support for google_storage_object_access_control (#2256) 2018-12-12 17:23:35 -08:00
The Magician
d3ab42a60f Add import tests for google_cloudiot_registry (#2276)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
The Magician
1eda3c664b Fix Composer Environment machineType parsing
Fixes #2227
2018-12-12 17:23:35 -08:00
The Magician
78f9957623 Add more import paths for google_service_account. (#2261) 2018-12-12 17:23:35 -08:00
Riley Karson
2f6b39ee21 Revert "Update cloudbuild trigger in place (#2121)"
This reverts commit 02eb26bdb3.
2018-11-13 07:50:37 -08:00
nownabe
02eb26bdb3 Update cloudbuild trigger in place (#2121)
Hi!

Now any changes of cloud build trigger create new one, this PR makes triggers modifiable in place.

I referred to [bigquery dataset](9f0b792f09/google/resource_bigquery_dataset.go (L353)). If theare are better examples, I'd like to know them.
2018-11-12 15:15:39 -08:00
Paddy
56c86ec607
Merge pull request #2239 from rileykarson/empty-typelist-cherry
Fix empty TypeList expands in generated resources (#2233 cherrypick)
2018-10-11 23:26:47 -07:00
The Magician
66c10d2ce1 Fix empty TypeList expands in generated resources (#2233)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-10-11 16:08:17 -07:00
Riley Karson
5512f8a961 Guard against nil empty typelists. 2018-10-11 09:48:19 -07:00
Dana Hoffman
8f35c8285f set app engine to empty if api not enabled 2018-10-10 13:07:10 -07:00
Dana Hoffman
a0979fe66a don't try to parse the source image if there is none 2018-10-10 13:06:38 -07:00
Riley Karson
95c57ac681 Fix generated provider_versions links 2018-10-09 15:26:38 +00:00
Paddy Carver
054ec287eb Fix go fmt. 2018-10-08 13:13:26 -07:00
Riley Karson
52a17333c0 Deprecate restore_policy in code 2018-10-08 11:37:19 -07:00
The Magician
1b88724449 Add example tests for Redis, Filestore, ContainerAnalysis (#2131)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-10-05 15:28:31 -07:00
The Magician
fe8b2207fe Add an address example with a VM instance (#2141)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-10-05 13:05:58 -07:00
The Magician
645eab7ced Add new generated tests for examples (#2111) 2018-10-05 12:32:57 -07:00
Dana Hoffman
a68485ec5e add retries for all calls in sql database resource 2018-10-04 16:04:29 -07:00
Paddy
9a1ca01f6a
Merge pull request #2170 from danawillow/storageobjectacl
set role entity to nil on read if it isn't in state
2018-10-04 13:33:04 -07:00
Dana Hoffman
b79d8178bc set role entity to nil on read if it isn't in state 2018-10-04 10:28:45 -07:00
The Magician
d5308e5119 Fix false ImportStateVerify failures in redis tests. (#2169) 2018-10-04 10:27:17 -07:00
Riley Karson
c36b6bbba0
Fix cloud function datasource (#2168) 2018-10-04 10:11:55 -07:00
The Magician
16ff1363a7 remove min_version from a bunch of fields that are in GA now (#2167)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-10-04 09:51:57 -07:00
Dana Hoffman
83f9c94079 WIP: Add deprecation message for generated beta fields. 2018-10-04 02:45:53 +00:00
Paddy Carver
6a881cde88 Fix deprecation URL. 2018-10-03 19:20:04 -07:00
Paddy
8e7347af4e
Merge branch 'master' into paddy_igm_deprecation 2018-10-03 19:08:29 -07:00
Paddy
88d84c8f9e
Merge pull request #2152 from rileykarson/deprecate-fields
Deprecate handwritten beta fields.
2018-10-03 18:56:10 -07:00
Paddy
3294d7e1f4
Merge pull request #2158 from rileykarson/cloud-functions-event-trigger
Add event_trigger to cloud functions
2018-10-03 18:55:53 -07:00
Paddy Carver
9a3dd8db6e Fix provider_versions.html link. 2018-10-03 18:46:20 -07:00
Paddy
d6cf44682a
Merge pull request #2161 from terraform-providers/paddy_bigtable_clusters
Move Bigtable config to cluster block.
2018-10-03 18:09:35 -07:00
Paddy Carver
f743cc057b Only one cluster, max.
Only allow one cluster for bigtable instances. We can expand to 2 for
2.0.0.
2018-10-03 18:01:26 -07:00
Paddy Carver
a814a587c7 Move Bigtable config to cluster block.
Match the bigtable_instance resource to the API structure, deprecating
the inlined config parameters. This is a complicated deprecation,
because we don't want to ForceNew when updating to use the new
undeprecated fields, but we want to ForceNew if they change.

This is achieved using a CustomizeDiff.
2018-10-03 16:37:24 -07:00
Chris Stephens
ba088fa113
Add the moitoring top level resource (#2148)
* Add the moitoring top level resource

* Add stackdriver monitoring to the website
2018-10-03 19:09:24 -04:00
The Magician
1f76d44ec1 Stackdriver monitoring AlertPolicy resource (#2120) 2018-10-03 18:51:49 -04:00
Riley Karson
ee67a87a65 Change deprecation message. 2018-10-03 12:58:52 -07:00
The Magician
d45626a479 allow sending empty values for router fields (#2157) 2018-10-03 12:56:30 -07:00
Riley Karson
e5d8575541 Accept all Cloud Storage and Cloud Pub/Sub event types 2018-10-03 12:42:18 -07:00
Riley Karson
11129f13b8 Add event_trigger to cloud functions 2018-10-03 11:15:45 -07:00
Riley Karson
3f47f06e52
Refactor google_sql_database_instance to use Expand functions. (#2137)
Refactor `google_sql_database_instance` to use Expand functions in Create. Update will start using them when we make the resource authoritative, this change does not modify the resource functionality.
2018-10-03 07:59:07 -07:00
Paddy
69589e5465
Merge pull request #2147 from terraform-providers/paddy_new_appengine
Add google_app_engine_application resource.
2018-10-03 01:14:01 -07:00
Paddy Carver
8f6d256f51 Fix Dana's comments, round two! 2018-10-02 23:41:31 -07:00
Paddy Carver
a3bd81460e Deprecate beta fields for (R)IGM.
Update (Regional) Instance Group Managers to deprecate the beta fields
(rolling_update_policy, versions, and auto_healing_policy). Also, rename
RESTART to REPLACE for Instance Group Manager's update_strategy, to be a
bit clearer. This required a DiffSuppress to make sure RESTART and
REPLACE are considered equivalent. In 2.0.0, we should remove RESTART
and drop the DiffSuppressFunc. Sadly, we have no way to do a deprecation
message for RESTART. We'll have to put it in the CHANGELOG. I've already
removed it from the website.
2018-10-02 17:22:42 -07:00
Paddy
0e4c53e527
Merge pull request #2153 from terraform-providers/paddy_2067
Fix error in instance template read.
2018-10-02 16:47:15 -07:00
Paddy Carver
99ef0adf31 Variable rename. 2018-10-02 16:43:21 -07:00
Paddy Carver
691ae9986b Adjust for Dana's comments. 2018-10-02 16:34:34 -07:00
Riley Karson
bb4c9374bc
Bring google_dns_managed_zones to ga (#2154) 2018-10-02 16:08:04 -07:00
Riley Karson
a4a453dc1b
Deprecate assigned_nat_ip in compute_instance family (#2155)
Part of #2143
2018-10-02 16:07:28 -07:00
Paddy Carver
ee4ec86bef Fix error in instance template read.
Flattening disks involves taking the relative link of each disk. This
only works if you start from a self_link, but we were starting from
anything that resolveImage returns, which includes several
not-self_links.

This PR adds a test that shows the failure, and then fixes it by
expanding the output back out to a self_link before getting the relative
link from it.
2018-10-02 14:45:19 -07:00
Riley Karson
a8747b4909 Deprecate handwritten beta fields. 2018-10-02 14:44:09 -07:00
Paddy Carver
3ab8e95ef6 Pretend to delete, no error. 2018-10-02 14:15:31 -07:00
Paddy
c1d404ddc1
Merge pull request #1995 from terraform-providers/paddy_1916_diff_fix
Fix perma-diff on instance templates.
2018-10-02 14:13:15 -07:00
Dana Hoffman
546401277a
Make max_pods_per_node ForceNew (#2139)
I don't see any way of updating in the API, and even if there were, we aren't calling it right now.

Fixes #2084
2018-10-02 12:40:12 -07:00
Paddy Carver
9ceb644460 Add google_app_engine_application resource.
Deprecate the app_engine sub-block of google_project, and create a
google_app_engine_application resource instead. Also, add some tests for
its behaviour, as well as some documentation for it.

Note that this is largely an implementation of the ideas discussed in
 #2118, except we're not using CustomizeDiff to reject deletions without
our special flag set, because CustomizeDiff apparently doesn't run on
Delete. Who knew? This leaves us rejecting the deletion at apply time,
which is less than ideal, but the only other option I see is to silently
not delete the resource, and that's... not ideal, either.

This also stops the app_engine sub-block on google_project from forcing
new when it's removed, and sets it to computed, so users can safely move
from using the sub-block to using the resource without state surgery or
deleting their entire project. This does mean it's impossible to delete
an App Engine application from a sub-block now, but seeing as that was
the same situation before, and we just papered over it by making the
project recreate itself in that situation, and people Were Not Fans of
that, I'm considering that an acceptable casualty.
2018-10-02 02:59:17 -07:00
Paddy Carver
2fc8da91e7 Fix Dana's comments, expand images to self_links.
Fix Dana's comments, one of which exposed a bug: we weren't actually
fixing the diff. Because resolveImage can return multiple formats, and
only returns a self_link if a self_link is passed in, it was diffing
more often than not against a self_link supplied in the config. We just
had a bug in our CustomizeDiff function that concealed this.

I added the resolvedImageSelfLink helper function to turn the output
from resolveImage into a self_link, which fixes the problem. It also has
the knock-on effect of fixing #2067 at the same time, which is nice. I
decided to add another function instead of just modifying resolveImage
to always return a self_link because I don't want to deal with the
backwards compatibility problems of changing how we're storing a bunch
of things in state this close to 1.19.0. And honestly, we should
probably just be storing the self_link always, _anyways_.
2018-10-02 01:11:03 -07:00
Dana Hoffman
250cfa351c
fix instance template interaction with regional disks, make docs more clear about valid values (#2138) 2018-10-01 11:07:56 -07:00
The Magician
98a608777c use ga api for redis (#2136)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-10-01 10:09:07 -07:00
The Magician
aec2987415 use beta api for container analysis (#2135)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-10-01 09:56:04 -07:00
Alex Barron
70faf686b5 Add "enable_tpu" flag to google_container_cluster (#1974)
* add enable_tpu flag

* missed one

* add docs

* fix test

* tabs

* update tests to new format

* formatting

* formatting
2018-10-01 09:41:54 -07:00
The Magician
1f0eae579f Bugfix: Stop reading region from Redis API. (#2133)
Bugfix: Stop reading region from Redis API, remove unnecessary Flatten methods.
2018-09-28 15:10:55 -07:00
The Magician
10af01f76e Do not send empty values for nested properties (#2117)
<!-- This change is generated by MagicModules. -->
/cc @chrisst
2018-09-28 09:47:20 -07:00
The Magician
61240c3bac Fix TestAccComputeRoute_routeBasicExample (#2124)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-09-27 10:02:50 -07:00
Riley Karson
41d47ec8bb
Deprecate address in compute_instance family, undeprecate network_ip (#2096)
Also remove a duplicate instance test I noticed for ephemeral ips.
2018-09-26 11:19:25 -07:00
Paddy
a395142913
Merge pull request #2090 from terraform-providers/paddy_1292
Check for project deletion when refreshing/deleting project_service.
2018-09-26 11:05:13 -07:00
Riley Karson
8c0bc93771
Vendor random provider to allow use in tests (#2110)
Support for an upcoming generated PR.
2018-09-25 15:09:13 -07:00
Dana Hoffman
9960e2fa62
Simplify GKE cluster code (#2105)
We don't need quite so many `GetOk`s since the client library will ignore any fields that are set to the zero value for that type. I left a few that involved error-handling or things that had to be set before other things, but this at least should make the code a bit nicer to look at.

Tests are passing except the ones that were already failing in CI.
2018-09-25 11:42:37 -07:00
The Magician
d60c05dc30 Magic Modules changes. (#2106) 2018-09-24 15:35:43 -07:00
The Magician
7fb247ee04 Add tests for several compute resource examples, rearrange examples in docs (#2097)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-09-24 13:54:33 -07:00
The Magician
0790c96cac Implement Filestore Instance. (#2088) 2018-09-21 18:01:22 -07:00
Dana Hoffman
bec963fdfa
remove containeranalysis from ignore list (#2095) 2018-09-21 15:58:42 -07:00
The Magician
06c2f8451f WIP: Add interconnect attachments. (#1569)
Fixes #1140.
2018-09-21 13:27:57 -07:00
The Magician
14bac81a71 Supporting IP range reservation for global address (#2087)
<!-- This change is generated by MagicModules. -->
/cc @chrisst
2018-09-21 09:43:45 -07:00
Nathan McKinley
bfb1feb4cb
Make it allowable to add 'network_interface' as workaround for element function (#2018)
Make it allowable to add 'network_interface', 'boot_disk', 'machine_type' as workaround for element function.
2018-09-20 16:49:48 -07:00
Paddy
0b8c9644d7
Merge pull request #1944 from colenet-gmbh/master
Importing  google_dns_managed_zone with project
2018-09-20 14:23:36 -07:00
Paddy
d9614d1664
Merge pull request #2054 from migibert/make_runtime_config_importable
Make runtime configs importable
2018-09-20 14:09:16 -07:00
The Magician
87204bf8aa Sort optional properties by name (#2091)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-09-20 13:22:36 -07:00
Paddy Carver
791c508755 Check for project deletion when refreshing/deleting project_service.
When reading or deleting the google_project_service resource, first
retrieve the project. If it's not found, or if it's pending deletion,
remove the service, as it's functionally disabled.

Also, add a test to confirm the behaviour.

This should resolve #1292.
2018-09-20 12:54:21 -07:00
Riley Karson
72b759dbd3
Remove binary_log_enabled from Postgres test, as it's unsupported (#2075)
\+ update docs.

This must have silently failed in the API before? It doesn't work & is tested upstream now. Binary logs are a non-feature of Postgres.
2018-09-20 12:43:55 -07:00
Ville Törhönen
80e03f7f28 Set computed flag for 'max_pods_per_node' (#2077) 2018-09-19 14:46:41 -07:00