Skip to content

Commit 63e5652

Browse files
authored
Merge pull request #51 from strokyl/fix/documentation
Fix/documentation
2 parents cec4f7b + 50a2b04 commit 63e5652

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ If you wish to work on the provider, you'll first need [Go](http://www.golang.or
4242
To compile the provider, run `make build`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory.
4343

4444
```sh
45-
$ make bin
45+
$ make build
4646
...
4747
$ $GOPATH/bin/terraform-provider-ovh
4848
...
@@ -55,7 +55,7 @@ $ make test
5555
```
5656

5757
In order to run the full suite of Acceptance tests, run `make testacc`.
58-
58+
You will need to setup some environment variable, see [doc/index.html](website/docs/index.html.markdown) for more information.
5959
*Note:* Acceptance tests create real resources, and often cost money to run.
6060

6161
```sh

website/docs/index.html.markdown

+13-2
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,22 @@ The following arguments are supported:
7979
In order to run the Acceptance Tests for development, the following environment
8080
variables must also be set:
8181

82+
* `OVH_ENDPOINT` - possible value are: ovh-eu, ovh-ca, ovh-us, soyoustart-eu, soyoustart-ca, kimsufi-ca, kimsufi-eu, runabove-ca
83+
84+
* `OVH_IPLB_SERVICE` - The id of the iplb you use
85+
8286
* `OVH_VRACK` - The id of the vrack to use.
8387

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

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

88-
You should be able to use any OVH environment to develop on as long as the
89-
above environment variables are set.
92+
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:
93+
94+
* `OVH_APPLICATION_KEY`
95+
96+
* `OVH_APPLICATION_SECRET`
97+
98+
* `OVH_CONSUMER_KEY`
99+
100+
You should be able to use any OVH environment to develop on as long as the above environment variables are set.

0 commit comments

Comments
 (0)