Commit Graph

1382 Commits

Author SHA1 Message Date
Dana Hoffman
5b3bd3455c Fix crash when creating node pools with name_prefix (#531) 2017-10-04 16:41:35 -07:00
Vincent Roseberry
d60deb044a Update google_project docs to reflect that the id field has been removed (#530) 2017-10-04 16:19:43 -07:00
Vincent Roseberry
e8dd03caf0 Update CHANGELOG.md 2017-10-04 15:24:40 -07:00
Vincent Roseberry
4fc21d1d40 Update CHANGELOG.md 2017-10-04 15:23:09 -07:00
Vincent Roseberry
0ba267dafc Use NetworkFieldValue in google_compute_subnetwork (#529) 2017-10-04 15:21:49 -07:00
Vincent Roseberry
246775b88d Update CHANGELOG.md 2017-10-04 14:19:34 -07:00
Vincent Roseberry
10aeb9cd47 Improve VPN gateway and router to generate network link without calling network API (#527)
* Router network fields supports name in addition of self_link
* Improve VPN Gateway network field support
2017-10-04 14:01:38 -07:00
Michael Parker
467481745f Fix: Updates sidebar text for google_client_config resource (#520) 2017-10-03 18:07:15 -07:00
Dana Hoffman
afd067f876 Update CHANGELOG.md 2017-10-03 17:10:37 -07:00
Dana Hoffman
bb0ab8e1f6 Merge the schemas and logic for the node pool resource and the node pool field in the cluster to aid in maintainability (#489) 2017-10-03 17:09:34 -07:00
Paddy
7bfcabed6d Merge pull request #379 from sl1pm4t/fix-iam-err-output
Fix IAM Policy error output
2017-10-03 15:45:49 -07:00
Vincent Roseberry
b3fe94118f Update CHANGELOG.md 2017-10-03 13:32:16 -07:00
Vincent Roseberry
e9436964bd Network peering gets network project from network self_link (#498) 2017-10-03 13:30:31 -07:00
Vincent Roseberry
f699ca4331 Update CHANGELOG.md 2017-10-03 13:25:04 -07:00
Vincent Roseberry
7d65b3ed04 Firewall uses v1 API if the priority is unset or has the default value. (#500)
* api_versions supports default value
* Firewall use v1 API if the priority is set to default value (1000)
2017-10-03 13:24:02 -07:00
Vincent Roseberry
3e907d6689 Update CHANGELOG.md 2017-10-03 13:18:01 -07:00
Vincent Roseberry
5f887b6568 Add update support for pubsub subscription push config field (#512) 2017-10-03 13:14:51 -07:00
Dana Hoffman
8d4a3e9b3d Update CHANGELOG.md 2017-10-03 12:49:20 -07:00
Dana Hoffman
2db85e8e75 Add new retry wrapper fn, retry sql database instance operations that commonly 503 (#417)
* Retry sql database instance operations that commonly 503

* use new retry wrapper fn in resource_storage_bucket.go
2017-10-03 12:41:04 -07:00
Dana Hoffman
a776adce35 Update example resources in resource template (#463)
It feels weird to have opc as an example if the issue is something in the google provider
2017-10-03 10:50:29 -07:00
Bryce Kahle
7e4c17d8a5 Fix formatting of container_node_pool.min_node_count (#499) 2017-10-03 10:46:33 -07:00
Joe Selman
2bedd39635 Update CHANGELOG.md 2017-10-03 09:31:11 -07:00
Joe Selman
475ddb1b5b Add kubernetes dashboard addon (#464)
* Update google.golang.org/api/container/v1

* Add support for kubernetes_dashboard addon

* Fix tab/spaces issue in string
2017-10-03 09:29:27 -07:00
Joe Selman
fa439a5cb8 Update CHANGELOG.md 2017-10-03 09:29:01 -07:00
Joe Selman
ef543b20c5 Add google_logging_folder_sink resource (#470)
* Fix bad page title

* Add resource logging_folder_sink

* Use proper parse function and string format

* Remove unused strings
2017-10-03 09:26:19 -07:00
tf-release-bot
547f20a803 Cleanup after v1.0.1 release 2017-10-02 20:18:24 +00:00
tf-release-bot
be7de4f7a4
v1.0.1 2017-10-02 20:14:42 +00:00
Paddy
025f07f32b Update CHANGELOG.md 2017-10-02 13:12:04 -07:00
Paddy
9b573f0e6f Merge pull request #511 from terraform-providers/paddy_fix_1.0.0_migration
Fix compute_instance migration bug.
2017-10-02 12:59:15 -07:00
Paddy
33b526aa10 Skip migrations if we're not running acc tests. 2017-10-02 12:49:49 -07:00
Paddy
300bae3244 Fix compute_instance migration bug.
`compute_instance`'s StateVersion was set to 2. Then we released a
migration to v3, but never updated the StateVersion to 3, meaning the
migration was never run. When we added the migration for disks, we
bumped to 4, bypassing 3 altogher. In theory, this is fine, and is
expected; after all, some people may have state in version 0 and need to
upgrade all the way to 4, so our schema migration function is supposed
to support this.

Unfortunately, for migrations to v2, v3, and v4 of our schema, the
migration _returned_ after each migration, instead of falling through.
This meant that (in this case), version 2 would see it needs to be
version 4, run the state migration to version 3, then _return_, setting
its StateVersion to _4_, which means the migration from 3->4 got skipped
entirely.

This PR bumps the version to 5, and adds a migration from 4->5 such that
if there are still disks in state after 4, re-run 4. This will fix
things for people that upgraded to 1.0.0 and had their StateVersion
updated without the migration running.

I also updated the tests @danawillow wrote to start from state version 2
instead of state version 3, as the state would never be in version 3.

I also duplicated those tests, but started them from state version 4
(assuming the migration hadn't run) and verifying that the migration
from 4->5 would correct that.
2017-10-02 12:34:09 -07:00
Paddy
302cfda519 Merge pull request #508 from terraform-providers/paddy_fix_1.0.0_broken_links
Fix broken links.
2017-10-02 10:36:42 -07:00
Paddy
cfe614b5d9 Fix broken links. 2017-10-02 10:19:22 -07:00
tf-release-bot
f8cda3f00f Cleanup after v1.0.0 release 2017-10-02 17:07:04 +00:00
tf-release-bot
e3c2a45e33
v1.0.0 2017-10-02 17:03:23 +00:00
Dana Hoffman
bbad89afe6 Fix failing tests: instance templates still use disk (#504)
* instance templates still use the disk field

* more fixes
2017-09-30 19:42:15 -07:00
Paddy
6fcd65a00a Merge pull request #501 from terraform-providers/paddy_1.0_deprecations
1.0.0 Deprecations, pt 2
2017-09-29 16:31:01 -07:00
Paddy
fccae61d61 1.0.0 Deprecations, pt 2
Fix the CI tests we broke with the deprecations for 1.0.0, and update
the docs we missed. Also, update the examples.
2017-09-29 16:04:52 -07:00
Paddy
3db816d686 Merge pull request #491 from terraform-providers/paddy_1.0_deprecations
Remove deprecated resources for 1.0.0.
2017-09-29 11:32:14 -07:00
Paddy
136a176e7e Deprecate disable_project on google_project_iam_policy. 2017-09-29 11:13:44 -07:00
Paddy
02641ea27f Update CHANGELOG.md 2017-09-29 09:53:45 -07:00
Paddy
fe83578d33 Merge pull request #494 from terraform-providers/paddy_revert_shared_vpc
Revert Shared VPC.
2017-09-29 09:53:16 -07:00
Paddy
02512af271 Revert Shared VPC.
We want to talk about the design of Shared VPC a little bit more before
it ships, so this PR removes it, to be added back at a later date.
2017-09-29 04:59:41 -07:00
Paddy
50ad10a513 Address comments. 2017-09-29 04:57:47 -07:00
Paddy
b1fa2a4702 AccTest fixes. 2017-09-29 04:54:24 -07:00
Radek Simko
7f109c6494 Merge pull request #461 from terraform-providers/travis-go-1.9
travis: Bump Go to 1.9
2017-09-29 07:52:02 +01:00
Dana Hoffman
591d305fd2 Update CHANGELOG.md 2017-09-28 17:46:11 -07:00
Dana Hoffman
f31e34cad9 Mark certificate as sensitive within google_compute_ssl_certificate (#490) 2017-09-28 17:45:36 -07:00
Paddy
e1b0eadfa7 Remove disk. 2017-09-28 17:23:29 -07:00
Paddy
e4d920b774 Remove disks field. 2017-09-28 17:22:29 -07:00