orange-cloudfoundry / terraform-provider-cloudfoundry

A terraform provider to manage a Cloud Foundry instance.
Apache License 2.0
31 stars 8 forks source link

Move provider schema descriptions inline and add validation test #13

Closed dcarley closed 7 years ago

dcarley commented 7 years ago

Add test to validate Provider

As suggested by: https://www.terraform.io/docs/plugins/provider.html#provider

As part of the unit tests, you should call InternalValidate. This is used to verify the structure of the provider and all of the resources, and reports an error if it is invalid.

Move provider schema descriptions inline

So that it's easier to understand what each option does (without reading up/down the file) and they are always kept in-sync (turns out that locale was unused).

ArthurHlt commented 7 years ago

Hello @dcarley . Thank you for the work :)