Commit Graph

2727 Commits

Author SHA1 Message Date
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
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
Riley Karson
0a960f5e8c
Fix sql_db test resource name that could start with a #. (#2043)
* Fix test resource name that could start with a #.

* Use acctest.RandomWithPrefix
2018-09-13 10:23:19 -07:00
Riley Karson
a758cc7e9d
Update CHANGELOG.md 2018-09-13 07:44:01 -07:00
Jamie Lennox
c24d622b8f Set correct nodepool Id using 4 part importer (#2035)
The ID that is created for a nodepool is 3 parts in the form of
<location>/<cluster>/<nodepool>. When we use the newer 4 part import
format the ID becomes that string. Then when checking the existence of
the nodepool the name is incorrectly parsed out of the ID.

When using the 4 part import form we need to set the correct ID so that
terraform can parse the name from the ID.

Closes: #1846
2018-09-12 18:44:52 -07:00
Nathan McKinley
ab4eef468c
Fix _withPrivateCluster container test. (#2041) 2018-09-12 17:58:11 -07:00
Nathan McKinley
430fea2f51
Update CHANGELOG.md 2018-09-12 17:50:19 -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
f1bd5029af
Update CHANGELOG.md 2018-09-12 11:26:38 -07:00
Nathan McKinley
f05d62c89e
Enable multiple alias IP ranges for compute instance. (#2029)
* Enable multiple alias IP ranges for compute instance.
2018-09-11 17:37:35 -07:00
emily
46001de06d
Fix Composer test sweeper (#2032)
* fix composer sweeper

* make fmt
2018-09-11 17:27:48 -07:00
Chris Stephens
c2c9700bea
updating changelog (#2027) 2018-09-11 13:38:12 -07:00
Dana Hoffman
bf48b940ec
Update CHANGELOG.md 2018-09-11 16:28:35 -04:00
Michael Haro
24c9cc7481 Remove duplicate ProjectIDRegex variable (#1878)
* Remove duplicate ProjectIDRegex variable

* update validation and test for new regex
2018-09-11 13:27:14 -07:00
emily
8596ae8535
Update CHANGELOG.md 2018-09-11 13:15:15 -07: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
Dana Hoffman
380ff36cd9
Update CHANGELOG.md 2018-09-11 15:27:48 -04: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
Nathan McKinley
aab9e9e0c2
Source repo import. (#2020) 2018-09-11 10:55:55 -07:00
Harry Pidcock
65669fc6d6 Added Environment Variables configuration to Cloud Functions (#1830) 2018-09-10 17:37:43 -07:00
Riley Karson
37de4312e3
go tool fix google (#2019) 2018-09-10 15:07:48 -07:00
emily
7bdba7592b
Update CHANGELOG.md 2018-09-10 11:43:24 -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
35e6885c75
Update CHANGELOG.md 2018-09-07 15:38:13 -07:00
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