Commit Graph

2788 Commits

Author SHA1 Message Date
The Magician
8212820076 Store vpn_tunnel.router as a self_link. Fixes #1963. (#2003)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-09-07 15:36:34 -07:00
Dana Hoffman
6969ce5b4e
add documentation for dataproc metadata (#2002)
Fixes #1984
2018-09-07 15:27:15 -07:00
Dana Hoffman
f0fb68c46b
Update CHANGELOG.md 2018-09-07 10:49:10 -07:00
Mikaël Gibert
af3e7375b9 Add region choice to dataflow jobs (#1979)
Fixes #1600
2018-09-07 10:48:33 -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
62cee9bcea
Update CHANGELOG.md 2018-09-06 10:11:13 -07:00
Chris Stephens
73e2972237
Merge pull request #1968 from chrisst/logging-sink-defaults-991
Setting a default update_mask for all log sinks
2018-09-06 09:53:44 -07: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
Riley Karson
3f906b3c8d
Update CHANGELOG.md 2018-09-06 08:16:30 -07:00
Riley Karson
035a581b9f
Add import support for org, folder, billing logging sinks (#1860)
Fixes #1494.

* Add import support for `google_logging_organization_sink`, `google_logging_folder_sink`, `google_logging_billing_account_sink`.

Using `StateFunc` over `DiffSuppressFunc` should only affect tests; for some reason `TestAccLoggingFolderSink_folderAcceptsFullFolderPath` expected a `folder` value of `folders/{{id}}` vs expecting `{{id}}` when only `DiffSuppressFunc` was used, when in real use `DiffSuppressFunc` should be sufficient.
2018-09-06 08:14:55 -07:00
Thomas Poindessous
0aaa18227a
Be more specific about the number of zones
Changed from review.

The number of zones is three by default.
2018-09-06 14:07:45 +02:00
Paddy Carver
5cf6a5d131 Fix perma-diff on instance templates.
When using instance templates, if you use one of our image shorthands at
the moment, you'll get a perma-diff. This is because the config gets
resolved to another format before it is set in state, and so we need to
set that other format in state.

Unfortunately, resolving images requires network access, so we have to
do this with CustomizeDiff. CustomizeDiff was having trouble (I think?
More on this below) on setting a field as not ForceNew once the field
was already set, so I moved the decision for whether a field was
ForceNew or not into CustomizeDiff. I also resolved the old and new
images, and if they were the same, cleared the diff.

Unfortunately, you can't actually clear a field on a sub-block right
now. You have to clear top-level fields only. So this will currently
throw an error. I opened hashicorp/terraform#18795 to fix that. Once
that's merged, and we vendor it here, this patch fixes the problem.

If hashicorp/terraform#18795 doesn't get merged, the next best
workaround is to keep track of _all_ the fields under `disk` with a diff
in our CustomizeDiff, check whether they've all changed or not, and if
they've all changed, clear the changes on `disk`, which I _think_ will
resolve the issue. That's just a massive pain, unfortunately.
2018-09-05 17:35:44 -07:00
Paddy
7911cab2e4
Merge pull request #1933 from terraform-providers/paddy_issue_templates
Use differentiated issue templates.
2018-09-05 15:48:07 -07:00
Paddy
3597b8ddf6
Update question.md 2018-09-05 15:43:58 -07:00
Paddy
88cfca000f
Delete success-story.md 2018-09-05 15:42:23 -07:00
Paddy
aa040a0b42
Update enhancement.md 2018-09-05 15:39:12 -07:00
Paddy
ae3bf9a84f
Update enhancement.md 2018-09-05 15:38:51 -07:00
Paddy
fc197d4321
Update bug.md 2018-09-05 15:38:24 -07:00
David Alger
526fb51824 Correct google_compute_ssl_certificate import example (#1970) 2018-09-05 15:34:47 -07:00
Paddy
6cf87b4014
Update CHANGELOG.md 2018-09-05 15:34:09 -07:00
Paddy
3effce0891
Merge pull request #1994 from terraform-providers/paddy_1_11-1
Use Go v1.11.0
2018-09-05 15:29:23 -07:00
Chris Stephens
2285774522
Merge pull request #1993 from chrisst/remove-old-vendors
Remove vendor code for UUIDs
2018-09-05 15:28:08 -07:00
Paddy Carver
010c0f3288 Update README and run fmt. 2018-09-05 15:24:22 -07:00
Paddy
e2a7bf1cf7
Use Go v1.11.0 2018-09-05 15:20:00 -07:00
Chris Stephens
a291a19c0c
Merge pull request #1990 from chrisst/is-1703-docs
Improving billing logging sink docs
2018-09-05 15:19:11 -07:00
Chris Stephens
70e55920d6 Improving billing logging sink docs 2018-09-05 15:08:42 -07:00
Chris Stephens
404e7297f0 Remove vendor code for UUIDs
This doesn't appear to be used anywhere within this project.
Additionally Hashicorp has their own [uuid library](https://github.com/hashicorp/go-uuid)
which is used internally.
2018-09-05 14:22:13 -07:00
Chris Stephens
eb5f1a7767
Merge pull request #1991 from chrisst/update-vendored-dns
Updating the GCP dns api client.
2018-09-05 14:18:37 -07:00
Chris Stephens
abcd2179de Updating the GCP dns api client. 2018-09-05 14:13:53 -07:00
Riley Karson
c8ba3c0b3f
Cleaned up google_project_usage_export_bucket code and docs. (#1922) 2018-09-05 10:31:35 -07:00
Seth Vargo
96cb1fbc16 Encourage users to set lifecycle hooks on kms_crypto_key resources (#1896)
@michaelharo suggested this would be a good best practice for this particular resource to prevent users from accidentally deleting a bunch of encryption keys on a -/+ and losing data, and I agree.

This commit adds a quick documentation blurb saying what actually happens if those crypto key versions are destroyed and also updates the snippet to showcase a lifecycle hook.
2018-09-05 09:59:41 -07:00
Dana Hoffman
37534f542d
Update CHANGELOG.md 2018-09-05 09:53:02 -07:00
Nathan McKinley
9065b5a624 Addition of create_subnetwork and other fields relevant for Alias IPs (#1921)
* Addition of create_subnetwork and use_ip_aliases.

* add fields for [cluster|services]_ipv4_cidr_block and subnetwork_name
2018-09-05 09:52:06 -07:00
Paddy
9258781753
Merge pull request #1972 from terraform-providers/paddy_update_logging
Update logging vendor.
2018-08-31 10:46:15 -07:00
Paddy Carver
f946490db2 Update logging vendor.
Update the vendored version of our logging helper, so we get requests
printed.
2018-08-31 10:13:52 -07:00
Chris Stephens
e6af1c2a7d
Merge pull request #1958 from chrisst/debian-8-docs
updating examples in documentation for debian-9
2018-08-30 12:39:20 -07:00
Riley Karson
ca0317037b
Update CHANGELOG.md 2018-08-29 14:19:09 -07:00
Chris Stephens
ea6b4ff881 updating examples in documentation for debian-9 2018-08-28 16:58:27 -07:00
emily
27ade47e5a
Fixes for importing sql database instances (#1956)
* fix importing for sql resources

* fmt

* fix id for sql db import, tests

* change test names to be more specific
2018-08-28 16:51:37 -07:00
The Magician
2afafa0573 Magic Modules changes. (#1951) 2018-08-28 16:48:00 -07:00
emily
10ec7b2ca9
Use beta API location for google_container_engine_versions (#1939)
* use beta API location for  data source

* doc fixes

* use getLocation

* add note to docs about required locations
2018-08-28 11:37:07 -07:00
The Magician
f1f0bc97e2 Autogenerate HealthCheck resource (#1941) 2018-08-27 16:35:47 -07:00
emily
83406c3c5f
fix possible error from nil check (#1942) 2018-08-27 16:22:06 -07:00
Ralf Waldvogel
b66a62078d added documentation for import with project 2018-08-26 10:11:14 +02:00
Ralf Waldvogel
880f90d7d2 - added Importer for resource_dns_managed_zone
- added tests and acceptance tests
2018-08-26 10:04:54 +02:00
emily
7e82a982e4
Fix service account key data source name (#1932)
* fix service account key data source name

* switch id to name

* update docs

* doc format

* fixes for validation and tests

* last fixes for service account key data source
2018-08-24 15:29:27 -07:00
Chris Stephens
5b7da72291 Force acceptance test failure if .Set errors (#1934)
Many of the d.Set calls do not handle the error that comes back. This can lead
to things that appear to be set but are silently failing. This change adds a
flag to the makefile to force a panic if there are unhandled errors.
2018-08-23 11:53:18 -07:00
Chris Stephens
d7a67e13fb Ignore google provider binary (#1935)
Running go build in the root dir will create this binary
2018-08-23 11:52:14 -07:00