Commit Graph

615 Commits

Author SHA1 Message Date
Dana Hoffman
916640568a use https for link to versions doc 2018-10-04 21:55:53 +00:00
Riley Karson
742b6933a1
Add notes to docs about deprecated beta fields. (#2171)
* Add notes to docs about deprecated beta fields.

* Remove comma
2018-10-04 13:20:35 -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
Paddy
fab13638ac
Merge pull request #2142 from modular-magician/codegen-pr-518
Add deprecation message for generated beta fields.
2018-10-03 20:03:20 -07:00
Paddy
b3ac3e3ff2
Merge pull request #2160 from danawillow/beta-docs
add doc about the different provider versions
2018-10-03 19:55:50 -07:00
Dana Hoffman
83f9c94079 WIP: Add deprecation message for generated beta fields. 2018-10-04 02:45:53 +00:00
Paddy
0669e0298e
Update provider_versions.html.markdown 2018-10-03 19:34:05 -07:00
Paddy
83f2b4eca2
Update provider_versions.html.markdown 2018-10-03 19:28:20 -07:00
Paddy
8e7347af4e
Merge branch 'master' into paddy_igm_deprecation 2018-10-03 19:08:29 -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
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
Dana Hoffman
177314036b add doc about the different provider versions 2018-10-03 15:22:59 -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
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
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 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