Matt Morrison
0595ef25a5
Fix disk type’Malformed URL’ error ( #275 )
...
* Fix disk type’Malformed URL’ error
The API expects the disk type to be a SelfLink URL, but the disk type
name was being used (e.g. “pd-ssd”).
* Add ACC Tests for boot disk type
* Fix acceptance test & fmt test config
The Instance data does not contain the actual disk type, just "PERSISTENT". This commit uses the computeClient to pull the disk data from the API, allowing checking of the disk type.
Also fmt'd the test configuration.
2017-08-01 15:39:32 -07:00
Dana Hoffman
7faec27fba
Schema Generator script ( #215 )
...
* Initial commit for schema generator script
* vendor discovery api
* respond to comments
* Don't fail on formatting errors
* respond to comments
* update tests with latest changes
2017-08-01 14:46:55 -07:00
Dana Hoffman
6199652159
Update CHANGELOG.md
2017-08-01 13:13:56 -07:00
Dana Hoffman
947c18ec7a
Persist state from the API for google_sql_database_instance regardless of what attributes the user has set ( #208 )
2017-08-01 13:13:09 -07:00
Stefan Schmidt
fec05d3afa
For the sake of consistency, use the same phrasing ('This can also be ( #273 )
...
specified...') for the project, credentials, and region attributes.
2017-08-01 12:37:32 -07:00
Joe Selman
c6ae260d63
Use a unique key when running project_metadata_item import tests ( #274 )
...
CI runs tests concurrently and will interfere with each other with the
current global key name.
2017-08-01 11:14:13 -07:00
Joe Selman
28f8931f0b
Fix bug where startup-script metadata did not refresh ( #180 )
...
* Fix bug where startup-script metadata did not refresh
* Remove MetadataFormatSchema and replace with explicit filters/transforms
2017-08-01 10:47:58 -07:00
Vincent Roseberry
42e901fce4
Improve docs for dns_record_set
by adding example for SPF record. ( #266 )
2017-08-01 09:59:27 -07:00
Dana Hoffman
53e24e553f
Update CHANGELOG.md
2017-07-31 11:10:08 -07:00
Dana Hoffman
32d7c3f62c
Add support for legacyAbac to google_container_cluster
( #261 )
...
* revendor container api
* Add support for legacyAbac to `google_container_cluster`
* change to single enabled field
2017-07-31 11:09:05 -07:00
Vincent Roseberry
24cfa5a76f
Update CHANGELOG.md
2017-07-31 09:34:01 -07:00
Dana Hoffman
e497a8b93c
Update CHANGELOG.md
2017-07-31 09:30:29 -07:00
Aleksandr Didenko
1ec19cf3d9
Add support node config for GKE node pool ( #184 )
...
* Add support node config for GKE node pool
* Review fixes:
- Set max items in node config schema
- Fill missing node config fields
- Put test helpers above than test vars
* Update checks in node pool tests
* Fix node pool check match
2017-07-31 09:28:39 -07:00
Vincent Roseberry
53e481434e
Add new data source: google_dns_managed_zone ( #268 )
2017-07-31 09:27:18 -07:00
Joe Selman
060861e678
Add an additional test with multiple project metadata items ( #222 )
...
This additional test would have caught the error fixed in
8f75c1c9a5
2017-07-28 15:50:12 -07:00
Joe Selman
88b1f092ff
Fix issue with nondeterminism in tests ( #226 )
2017-07-28 12:59:19 -07:00
Paddy
cb538a3535
Merge pull request #262 from ubschmidt2/default_creds
...
Document that TF falls back to using the application default credentials.
2017-07-28 12:37:32 -07:00
Paddy
bed137f52c
Update CHANGELOG.md
2017-07-28 12:24:02 -07:00
Paddy
37df58296b
Merge pull request #171 from terraform-providers/paddy_iam
...
Add google_project_iam_binding and google_project_iam_member resources.
2017-07-28 12:22:33 -07:00
Vincent Roseberry
33d59463d2
Add links to official docs across compute Terraform Google Provider docs ( #264 )
2017-07-28 11:05:48 -07:00
Joe Selman
50c10d4e7d
Revert "Revert metadata item changes ( #225 )" ( #257 )
...
* Revert "Revert metadata item changes (#225 )"
This reverts commit 884158d891
.
* Use computeOperationWait instead of computeOperationWaitGlobal
2017-07-28 10:49:02 -07:00
Joe Selman
96cef4df0e
Update google_compute_ssl_certificate docs to reference lifecycle ( #258 )
2017-07-28 10:45:32 -07:00
Vincent Roseberry
fd99f25e13
Update CHANGELOG.md
2017-07-28 09:53:00 -07:00
Vincent Roseberry
3eaf4751db
Add new resource google_compute_network_peering
( #259 )
2017-07-28 09:51:29 -07:00
Stefan Schmidt
9572b638ea
Document that the Terraform Google Provider will fall back to using the Application Default Credentials. In particular, it will use the user's identify if the user has made his credentials available by running gcloud auth application-default login.
2017-07-28 15:39:11 +02:00
Paddy
c89429cf7a
Newlines, but really this time.
...
That's embarrassing. How did I miss that?
2017-07-27 14:39:28 -07:00
Paddy
4b9432dd3a
Newlines on website source.
2017-07-27 14:38:25 -07:00
Paddy
6f98217d66
Fix embarrassing typo in log message.
2017-07-27 14:37:39 -07:00
Paddy
d3426d5bc6
Don't set IDs in RMW loops.
...
We don't need to set the ID to "" in read-modify-write helpers, because
once they're done, we read anyways to update state based on the changes.
And that read checks if the binding/member still exists, and does the
SetId("") if it doesn't.
This way, we stick with state only getting set based on the API state,
not by what we think the state will be.
2017-07-27 14:29:25 -07:00
Paddy
ac5df40896
Return a type that was needed, rename a test function.
...
Tests need to have unique names. Whoooops.
Also, the Elem property accepts an interface I guess, which means we
actually need the struct type repetition there.
2017-07-27 14:11:52 -07:00
Paddy
f88e0429c7
Test adding multiple bindings at once.
2017-07-27 14:06:15 -07:00
Paddy
78545359bd
Add logging statements, update : to / in IDs.
...
Update member IDs to use / instead of :.
Make sure we're logging any time we remove something from state.
2017-07-27 14:01:47 -07:00
Paddy
f94c3872af
Switch to / as separator.
...
Switch to using / as a separator for IDs, instead of :.
2017-07-27 13:50:31 -07:00
Paddy
adc206a02d
Add test case for updating to remove member.
...
Add a test case that updates a binding to remove a member.
2017-07-27 13:50:06 -07:00
Paddy
199ff5d1f1
Excise unnecessary type declarations.
...
Some struct types can be inferred instead of being repeated, so let's
take advantage of that.
2017-07-27 13:39:23 -07:00
Riley Karson
50069050c1
Removed the Compute Operation Wait Zone and migrated to universal wait. ( #251 )
...
* Removed the Compute Operation Wait Zone and migrated to universal wait.
* Removed unused var.
2017-07-27 08:48:25 -07:00
Riley Karson
01eecebac6
Remove the Compute Operation Wait Region methods, migrating to the universal wait. ( #246 )
2017-07-26 15:24:03 -07:00
Riley Karson
232cb87c7a
Add versioned Beta support to google_compute_instance_group_manager ( #234 )
...
* Vendor GCP Compute Beta client library.
* Refactor resource_compute_instance_group_manager for multi version support (#129 )
* Refactor resource_compute_instance_group_manager for multi version support.
* Minor changes based on review.
* Removed type-specific API version conversion functions.
* Add support for Beta operations.
* Add v0beta support to google_compute_instance_group_manager.
* Renamed Key to Feature, added comments & updated some parameter names.
* Fix code and tests for version finder to match fields that don't have a change.
* Store non-v1 resources' self links as v1 so that dependent single-version resources don't see diffs.
* Fix weird change to vendor.json from merge.
* Add a note that Convert loses ForceSendFields, fix failing test.
* Moved nil type to a switch case in compute_shared_operation.go.
* Move base api version declaration above schema.
2017-07-26 13:37:59 -07:00
Dana Hoffman
bc5505d289
Update CHANGELOG.md
2017-07-26 13:22:58 -07:00
Dana Hoffman
42a898dbd0
Add support for node pool autoscaling ( #157 )
...
* add node pool autoscaling
* docs for node pool autoscaling
* remove enabled attribute
* remove enabled from docs
2017-07-26 13:21:51 -07:00
Riley Karson
95570b1ed0
Fix the Terraform logo link
2017-07-26 10:27:20 -07:00
Riley Karson
1f8254f260
Migrate all occurrences of WaitGlobal/WaitGlobal time to universal wait. ( #243 )
2017-07-26 09:40:06 -07:00
Vincent Roseberry
2baf74d991
Update CHANGELOG.md
2017-07-26 09:32:43 -07:00
Vincent Roseberry
01ef451a94
Support import for google_compute_subnetwork ( #227 )
2017-07-26 09:30:59 -07:00
Dana Hoffman
3942754472
Update CHANGELOG.md
2017-07-25 17:02:00 -07:00
jimmy-btn
12ed8d8dd9
Update expected type of expiration time ( #209 )
2017-07-25 16:58:35 -07:00
Riley Karson
ec162c666c
Refactor Compute Operations to work identically & introduce a scope-less API ( #191 )
...
* Refactor compute_operation.go to duplicate less code.
* Determine what scope type an Operation is from it's Operation object.
* Inlined operation type switch statement into if/else methods.
2017-07-25 16:22:27 -07:00
Paddy
e6bf316070
Update CHANGELOG.md
2017-07-25 16:13:31 -07:00
Paddy
775d931476
Merge pull request #6 from pdecat/f-google-storage-bucket-lifecycle
...
Add provider/google/google_storage_bucket lifecycle interface
2017-07-25 16:11:59 -07:00
Paddy
fa2d54f408
Terraform fmt website examples.
2017-07-25 12:22:52 -07:00