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
Paddy
5aca4468ac
Update tests that use deprecated resources.
2017-09-28 17:08:55 -07:00
Paddy
81162a745e
Update docs to reflect removal and deprecations.
2017-09-28 15:51:31 -07:00
Paddy
edad00bf4b
Replace variable we actually needed.
2017-09-28 15:44:21 -07:00
Paddy
19b2a3550a
Undelete initial_node_count.
...
This was just deprecated recently, don't remove it.
2017-09-28 15:40:24 -07:00
Paddy
a76fa3bd6a
Merge branch 'master' into paddy_1.0_deprecations
2017-09-28 15:37:19 -07:00
Paddy
a586429bd7
Deprecate our authoritative stuff.
2017-09-28 15:36:40 -07:00
Dana Hoffman
512c0c84d2
Update CHANGELOG.md
2017-09-28 14:39:36 -07:00
Paddy
f2f276ea0b
Remove deprecated resources for 1.0.0.
...
In advance of 1.0.0, let's take the opportunity to remove the fields on
resources that have been deprecated for a while.
2017-09-28 14:38:38 -07:00
Dana Hoffman
6d947cd20e
Add state migration from disk
to boot_disk/scratch_disk/attached_disk ( #329 )
...
* Add state migration from disk to boot_disk/scratch_disk/attached_disk
* get rid of test for now
* update schema version
* add tests for migration
* fix travis errors
* actually fix travis errors
* fix logic when project is set, also remove some log statements
* add tests for reading based on encryption key and image
* use as much of the image URL as we can for matching on image
* read project from config if it wasn't set in the attribute
* update resolveImage call
2017-09-28 14:37:03 -07:00
Vincent Roseberry
0b4158d1ea
Update CHANGELOG.md
2017-09-28 12:04:10 -07:00
Vincent Roseberry
bc25c02cbf
Firewall network field now supports self_link in addition of name ( #477 )
2017-09-28 12:02:39 -07:00
Vincent Roseberry
39a858894a
Remove alias ip range from beta feature for compute subnetwork
2017-09-28 10:48:28 -07:00
Vincent Roseberry
b5e1bf4a82
Remove alias ip range from beta feature for compute instance
2017-09-28 10:48:28 -07:00
Vincent Roseberry
764fb6b86c
Rewrite api versions tests as table driven tests ( #476 )
2017-09-27 15:25:10 -07:00
Dana Hoffman
3f956a32b6
Update CHANGELOG.md
2017-09-26 17:03:50 -07:00
Dana Hoffman
cc8ea81117
Fix a few instances where we read the project from the provider config and not using the helper function ( #469 )
2017-09-26 17:01:52 -07:00
Vincent Roseberry
f1aa5c5732
Update CHANGELOG.md
2017-09-26 16:59:18 -07:00
Vincent Roseberry
ace5dffcc8
Remove project if it has been deleted from outside of Terraform ( #466 )
2017-09-26 16:55:32 -07:00
Dana Hoffman
b3eeab0200
Update CHANGELOG.md
2017-09-26 15:58:31 -07:00
Dana Hoffman
617ad7362b
allow min node counts of 0 for node pool autoscaling ( #468 )
2017-09-26 15:57:51 -07:00
Vincent Roseberry
5874819e21
Remove beta code path in compute_global_address
2017-09-26 15:57:22 -07:00
Vincent Roseberry
d35b92086a
global_address ipv6 uses v1 api
...
global_forwarding_rule ipv6 uses v1 api
Update documentation
2017-09-26 15:57:22 -07:00
Vincent Roseberry
27a99c7dab
Don't crash if node config is nil in google_container_cluster ( #467 )
2017-09-26 15:32:12 -07:00