Commit Graph

2781 Commits

Author SHA1 Message Date
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
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
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