Commit Graph

2765 Commits

Author SHA1 Message Date
Paddy
63d7e3ed33
Update CHANGELOG.md 2018-09-26 11:06:10 -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
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
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
Nathan McKinley
c39db1e171
Update CHANGELOG.md 2018-09-21 18:01:57 -07:00
The Magician
0790c96cac Implement Filestore Instance. (#2088) 2018-09-21 18:01:22 -07:00
Dana Hoffman
042a2f5754
Update CHANGELOG.md 2018-09-21 15:59:30 -07:00
Dana Hoffman
bec963fdfa
remove containeranalysis from ignore list (#2095) 2018-09-21 15:58:42 -07:00
Nathan McKinley
95211daafe
Update CHANGELOG.md 2018-09-21 13:28:44 -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
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
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
4b41b11c27
Update CHANGELOG.md 2018-09-20 14:24:17 -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
940e5e45d3
Update CHANGELOG.md 2018-09-20 14:11:04 -07:00
Paddy
c2a462751b
Update CHANGELOG.md 2018-09-20 14:10:45 -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
Riley Karson
cab802db6b
Add docs about local provider to CONTRIBUTING (#2085)
* Add docs about local provider to CONTRIBUTING

Add docs about using a local provider with Terraform to CONTRIBUTING.md.

I couldn't find any prescriptive docs for this, so let's make them. Let me know if a different method is preferred (such as `.terraformrc`), this seemed like the best way from my brief search.

Upstreamed https://github.com/hashicorp/terraform-website/pull/474 as well to help improve the central Terraform docs on this subject.

* Update CONTRIBUTING.md (#2086)
2018-09-20 12:40:10 -07:00
Ville Törhönen
80e03f7f28 Set computed flag for 'max_pods_per_node' (#2077) 2018-09-19 14:46:41 -07:00
Nathan McKinley
46d297b8c8
Add Filestore client to config. (#2074) 2018-09-18 15:50:51 -07:00
Nathan McKinley
9311331f88
Add filestore API. (#2073) 2018-09-18 15:04:37 -07:00
Chris Hawk
771c2f8512 Update vendored deps (#1967)
I'm working on Stackdriver monitoring in another branch, which required updating `google.golang.org/genproto`, which required updating `google.golang.org/grpc`, which required updating `github.com/golang/protobuf`, and so on. This PR updates all of the Google-provided deps to their latest versions. In addition, there is:

- A change in config.go to reflect an updated type name
- Five files changed by `make fmt`

Tested with `make build`, `make test`, and `make testacc`.
2018-09-18 12:50:17 -07:00
Riley Karson
737c03e8f2
Update CHANGELOG.md 2018-09-18 09:04:03 -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
tf-release-bot
97399b7db9 Cleanup after v1.18.0 release 2018-09-17 21:43:47 +00:00
tf-release-bot
3cac23eea4
v1.18.0 2018-09-17 21:38:13 +00: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
Dana Hoffman
cc98692acd
move all remaining import_ tests into resource-specific tests (#2060)
I also did a bit of cleanup while I was here and noticed things that I thought could be improved in the files (wording changes, removing tests that aren't quite necessary, etc.) Take a look and make sure I didn't actually remove anything important!
2018-09-17 11:15:11 -07:00
Riley Karson
548f3685b1
Reduce rig datasource test target size to 1. (#2064)
So, every time this test fails we are leaving behind 10 CPUs. This is a big cause of our quota problem because we are at 70!! right now. We still need to fix the test but let's also reduce this count to 1 so we leave 1/10th of the zombie instances.

Changing from a new to legacy health check also did not work so I have no clue what the issue is here. Observing the instances, they are shown as being stuck in "Instance is being verified" state for up to days.
2018-09-17 10:03:43 -07:00
emily
dcde015f84
just make sweeper warn instead of error (#2057) 2018-09-14 14:04:48 -07:00
Dana Hoffman
9d02137703
change delay in region instance group data source test (#2047)
We had a failure in the last CI run while waiting for this resource to be created, so let's increase the timeout.

```
------- Stdout: -------
=== RUN   TestAccDataSourceRegionInstanceGroup
--- FAIL: TestAccDataSourceRegionInstanceGroup (631.53s)
	testing.go:518: Step 0 error: Error applying: 1 error(s) occurred:
		
		* google_compute_region_instance_group_manager.foo: 1 error(s) occurred:
		
		* google_compute_region_instance_group_manager.foo: timeout while waiting for state to become 'created' (last state: 'creating', timeout: 5m0s)
	testing.go:579: Error destroying resource! WARNING: Dangling resources
		may exist. The full state and error is shown below.
		
		Error: Error refreshing: 1 error(s) occurred:
		
		* google_compute_region_instance_group_manager.foo: 1 error(s) occurred:
		
		* google_compute_region_instance_group_manager.foo: google_compute_region_instance_group_manager.foo: timeout while waiting for state to become 'created' (last state: 'creating', timeout: 5m0s)
		
		State: 
FAIL
```
2018-09-14 13:36:58 -07:00
Dana Hoffman
f7630cb5f0
get dataproc logs when jobs fail in test (#2049)
The hadoop test passes for me locally but fails in CI, so this should give some extra debugging information (my user acct doesn't have permissions to read the dataproc logs from the failing test).

WIP for now because I want to make sure this method of reading the logs works.
2018-09-14 13:36:32 -07:00
The Magician
dc27ea8e49 Add missing quotation marks to compute_ssl_certificate tests (#2042)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-09-14 13:30:33 -07:00
Mikael Gibert
25e1610417 Update documentation 2018-09-14 15:17:10 +02:00
Mikael Gibert
1acfc5484a Make runtime configs importable 2018-09-14 14:16:07 +02:00
emily
35e9b16583
Fix Composer Test flakes/bucket sweeper (#2052)
* make delete timeout for composer environments in test longer

* fix sweeper

* fix bucket deletion in sweeper
2018-09-14 01:07:29 -07:00
Riley Karson
e47fe75cd7
Remove hardcoded version in resource_container_node_pool_test.go (#2046) 2018-09-13 14:13:38 -07:00
Dana Hoffman
58ca18e2bf
replace dataproc preview version (#2048) 2018-09-13 13:06:33 -07:00
Riley Karson
fe3e7a7d83
Fix flaky TestAccComputeDisk_timeout test (#2005)
TestAccComputeDisk_timeout is expected to fail 27.77% of the time because acctest.RandString can start with a number, making an invalid `name`. Let's fix that :)
2018-09-13 12:48:29 -07:00
Riley Karson
6ecffddf1b
Add information about vendoring to CONTRIBUTING.md (#2045)
I've seen questions about how to vendor come up from new members of our team and from the community in some OSS issues. Let's make our tribal knowledge a documented process!
2018-09-13 10:30:08 -07:00