Commit Graph

2829 Commits

Author SHA1 Message Date
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
8541ee130b
Update CHANGELOG.md 2018-10-03 20:03:39 -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 Carver
6a881cde88 Fix deprecation URL. 2018-10-03 19:20:04 -07:00
Paddy
8a32dff8ce
Update CHANGELOG.md 2018-10-03 19:18:09 -07:00
Paddy
19498c5569
Merge pull request #2156 from terraform-providers/paddy_igm_deprecation
Deprecate beta fields for (R)IGM.
2018-10-03 19:14:29 -07:00
Paddy
8e7347af4e
Merge branch 'master' into paddy_igm_deprecation 2018-10-03 19:08:29 -07:00
Paddy
e429969808
Update CHANGELOG.md 2018-10-03 18:59:01 -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
a6274e1be4
Update CHANGELOG.md 2018-10-03 18:10:56 -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
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
a14db979f1
Update CHANGELOG.md 2018-10-03 08:02:19 -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
6665c840f9
Update CHANGELOG.md 2018-10-03 01:15:58 -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
21565393d6
Update CHANGELOG.md 2018-10-02 16:48:23 -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
b5c36b0fbf
Update CHANGELOG.md 2018-10-02 14:13:52 -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
27bd76d9d4
Update CHANGELOG.md 2018-10-02 12:40:37 -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
a8fdf4033e
Fix trailing comma
JSON is the worst.
2018-10-02 02:44: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
436543bc37
Update CHANGELOG.md 2018-10-01 11:08:36 -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