Commit Graph

600 Commits

Author SHA1 Message Date
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
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
691ae9986b Adjust for Dana's comments. 2018-10-02 16:34:34 -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
3ab8e95ef6 Pretend to delete, no error. 2018-10-02 14:15:31 -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
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
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
063f1ba4b1 Fix docs for BinAuth Policy cluster_admission_rules (#2125)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-09-28 12:48:46 -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
33d900537d
Merge pull request #2102 from nownabe/missing-cloudbuild-doc
Update google_cloudbuild_trigger documentation
2018-09-26 11:07:40 -07:00
Paddy
583b8f6192
Merge pull request #2069 from spesnova/spesnova/update-google-iam-policy-doc
Replace "Google Apps domain" with "G Suite domain"
2018-09-25 11:08:30 -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
nownabe
f64ac057ab
Update google_cloudbuild_trigger documentation
* Order arguments alphabetically
* Add missing argument 'project'
2018-09-24 13:15:38 +09:00
Seigo Uchida
ac88a5fc95 Replace "Google Apps domain" with "G Suite domain"
Google Apps is a former name.

Also, I mention primary domain and domain alias. It seems I have
to use the primary domain. Otherwise, GCP replaces the field to the primary one.
And every time Terraform plan returns a diff about it.

I used domain alias for `members` arg in `google_project_iam_member`
resource. `terraform apply` was succeeded. However, when I run modify
other resources, I got a diff about the `google_project_iam_member`
resource.
2018-09-22 20:51:42 +09:00
The Magician
0790c96cac Implement Filestore Instance. (#2088) 2018-09-21 18:01:22 -07:00
The Magician
06c2f8451f WIP: Add interconnect attachments. (#1569)
Fixes #1140.
2018-09-21 13:27:57 -07:00
Riley Karson
c6ceb36ec7
Introduce a new Google provider landing page, complementary pages. (#2065)
* Introduce a new Google provider landing page, complementary pages.

* Review fixes.

* Link community tutorials, modules.

* Review comments pt 2.

* Review comments 3. Prioritize and tone.

* Review comments 3.1. Then -> Next.

* Paddy review comments.

* Review comments.
2018-09-21 12:49:32 -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
Paddy
b8cbf46367
Merge pull request #1764 from tpoindessous/patch-1
Be more specific about number of nodes in regional cluster
2018-09-20 14:28:58 -07:00
Paddy
53a8ac330a
Merge pull request #1919 from terraform-providers/paddy_image_docs
Add docs about image families and instance templates.
2018-09-20 14:25:10 -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
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
Riley Karson
d656e9139a
Add a datasource for google_compute_instance (#1906)
* Add a compute datasource.

* Add provider changes.

* Add self_link support to google_compute_instance datasource.

* Error check complex d.Set calls.
2018-09-18 09:02:48 -07:00
The Magician
c9f1a9ed01 Add tests based on google_compute_address examples. (#2017)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-09-17 12:31:57 -07:00
Mikael Gibert
25e1610417 Update documentation 2018-09-14 15:17:10 +02:00
Dana Hoffman
58ca18e2bf
replace dataproc preview version (#2048) 2018-09-13 13:06:33 -07:00
Nathan McKinley
81f8befbb5
Add support for max pods per node to node pool. (#2038) 2018-09-12 17:49:26 -07:00
The Magician
51108005fa Autogenerate google_compute_ssl_certificate. (#2015)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-09-12 15:55:49 -07:00
Chris Stephens
c8acdf8916
Service account email for SQL instances (#2040)
Fixes https://github.com/terraform-providers/terraform-provider-google/issues/632
2018-09-12 15:43:47 -07:00
Dana Hoffman
8ca3c930b8
add warning about imports to sql database instance (#2030)
Fixes #1998.

This just does it for the one resource, but I filed https://github.com/GoogleCloudPlatform/magic-modules/issues/452 to do it for all our generated ones.
2018-09-12 17:37:07 -04:00
emily
017f2f9b54
Add Cloud Composer Environments resource (#2001)
Adds Cloud Composer Environment resource and test sweeper
2018-09-11 13:13:11 -07:00
Chris Stephens
afcbb859ca
Attached disk resource (#1957)
* Adding resource_attached_disk

This is a resource which will allow joining a arbitrary compute disk
to a compute instance. This will enable dynamic numbers of disks to
be associated by using counts.
2018-09-11 13:08:14 -07:00
Chris Stephens
82e19ea060
Merge pull request #2009 from chrisst/is-1803-dns-labels
Add labels functionality to managed DNS
2018-09-11 13:03:56 -07:00
Chris Morgan
55991833f4 #644 Add Support For BigQuery Access Control (#1931)
* Updates based on PR comments

* Fix markdown nested list

* Second round of feedback

* Clarify pick one docs
2018-09-11 12:27:10 -07:00
Harry Pidcock
65669fc6d6 Added Environment Variables configuration to Cloud Functions (#1830) 2018-09-10 17:37:43 -07:00
emily
b1338b4ee7
Allow recreation of recently deleted project and org custom roles (#1681)
* undelete-update recently soft-deleted custom roles

* remove my TODO statements

* check values on soft-delete-recreate for custom role tests

* final fixes to make sure delete works; return read() when updating to 'create'

* check for non-404 errors for custom role get

* add warnings to custom roles docs
2018-09-10 11:36:16 -07:00
Chris Stephens
c74d7d2c60 Add labels functionality to managed DNS 2018-09-07 16:53:40 -07:00
Dana Hoffman
6969ce5b4e
add documentation for dataproc metadata (#2002)
Fixes #1984
2018-09-07 15:27:15 -07:00
Ralf Waldvogel
486f225008 fixed documentation typo 2018-09-07 07:17:40 +02:00
Ralf Waldvogel
c3e5019ddd fixed documentation for import formats 2018-09-07 06:32:13 +02:00
Ralf Waldvogel
90980c1b24 Merge branch 'master' of https://github.com/terraform-providers/terraform-provider-google 2018-09-07 06:26:08 +02:00
Chris Stephens
30773a784d Setting a default update_mask for all log sinks
[According to log sink documentation](https://cloud.google.com/logging/docs/reference/v2/rest/v2/sinks/update)
the api will eventually throw an error if update mask isn't provided. The
default specified here is what the api is currently using when an empty mask
is passed.
2018-09-06 09:48:48 -07:00