Skip to content

Commit

Permalink
Merge pull request #51 from strokyl/fix/documentation
Browse files Browse the repository at this point in the history
Fix/documentation
  • Loading branch information
yanndegat authored Jul 6, 2018
2 parents cec4f7b + 50a2b04 commit 63e5652
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ If you wish to work on the provider, you'll first need [Go](http://www.golang.or
To compile the provider, run `make build`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory.

```sh
$ make bin
$ make build
...
$ $GOPATH/bin/terraform-provider-ovh
...
Expand All @@ -55,7 +55,7 @@ $ make test
```

In order to run the full suite of Acceptance tests, run `make testacc`.

You will need to setup some environment variable, see [doc/index.html](website/docs/index.html.markdown) for more information.
*Note:* Acceptance tests create real resources, and often cost money to run.

```sh
Expand Down
15 changes: 13 additions & 2 deletions website/docs/index.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,22 @@ The following arguments are supported:
In order to run the Acceptance Tests for development, the following environment
variables must also be set:

* `OVH_ENDPOINT` - possible value are: ovh-eu, ovh-ca, ovh-us, soyoustart-eu, soyoustart-ca, kimsufi-ca, kimsufi-eu, runabove-ca

* `OVH_IPLB_SERVICE` - The id of the iplb you use

* `OVH_VRACK` - The id of the vrack to use.

* `OVH_PUBLIC_CLOUD` - The id of the public cloud project.

* `OVH_ZONE` - The domain you own to test the domain_zone ressource.

You should be able to use any OVH environment to develop on as long as the
above environment variables are set.
You will also need to [generate an ovh token](https://api.ovh.com/createToken/?GET=/*&POST=/*&PUT=/*&DELETE=/*) and use it to set the following environment variables:

* `OVH_APPLICATION_KEY`

* `OVH_APPLICATION_SECRET`

* `OVH_CONSUMER_KEY`

You should be able to use any OVH environment to develop on as long as the above environment variables are set.

0 comments on commit 63e5652

Please sign in to comment.