Skip to content

Commit 6b91063

Browse files
committed
Add link to the reference page for a mapping between control panel and providers.
1 parent b3d5e2e commit 6b91063

File tree

1 file changed

+4
-27
lines changed

1 file changed

+4
-27
lines changed

website/docs/index.html.markdown

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ description: |-
88

99
# OVH Provider
1010

11-
The OVH provider is used to interact with the many resources supported by OVHcloud.
12-
The provider needs to be configured with the proper credentials before it can be used.
11+
The OVH provider is the entry point to interact with the resources provided by OVHcloud.
12+
13+
-> __NOTE__ According on your needs, you may need to use additional providers. This [documentation page](https://help.ovhcloud.com/csm/en-gb-terraform-at-ovhcloud?id=kb_article_view&sysparm_article=KB0054612) provides the mapping between the control panel concepts and the terraform providers / ressources.
1314

1415
Use the navigation to the left to read about the available resources.
1516

1617
## Provider configuration
1718

18-
Requests to OVHcloud APIs require a set of secrets keys and the definition of the API end point.
19-
See [First Steps with the API](https://docs.ovh.com/gb/en/customer/first-steps-with-ovh-api/) (or the French version, [Premiers pas avec les API OVHcloud](https://docs.ovh.com/fr/api/api-premiers-pas/)) for a detailed explanation.
19+
The provider needs to be configured with the proper credentials before it can be used. Requests to OVHcloud APIs require a set of secrets keys and the definition of the API end point. See [First Steps with the API](https://docs.ovh.com/gb/en/customer/first-steps-with-ovh-api/) (or the French version, [Premiers pas avec les API OVHcloud](https://docs.ovh.com/fr/api/api-premiers-pas/)) for a detailed explanation.
2020

2121
Besides the API end-point, the required keys are the `application_key`, the `application_secret`, and the `consumer_key`.
2222
These keys can be generated via the [OVHcloud token generation page](https://api.ovh.com/createToken/?GET=/*&POST=/*&PUT=/*&DELETE=/*).
@@ -42,18 +42,6 @@ provider "ovh" {
4242
}
4343
```
4444

45-
Terraform 0.12 and earlier:
46-
47-
```hcl
48-
# Configure the OVHcloud Provider
49-
provider "ovh" {
50-
endpoint = "ovh-eu"
51-
application_key = "xxxxxxxxx"
52-
application_secret = "yyyyyyyyy"
53-
consumer_key = "zzzzzzzzzzzzzz"
54-
}
55-
```
56-
5745
Alternatively the secret keys can be retrieved from your environment.
5846

5947
* `OVH_ENDPOINT`
@@ -198,17 +186,6 @@ variables must also be set:
198186

199187
* `OVH_TESTACC_IP` - set this variable to "yes" will order public ip blocks.
200188

201-
### Credentials
202-
203-
You will also need to [generate an OVHcloud token](https://api.ovh.com/createToken/?GET=/*&POST=/*&PUT=/*&DELETE=/*) and use it to set the following environment variables:
204-
205-
* `OVH_APPLICATION_KEY`
206-
207-
* `OVH_APPLICATION_SECRET`
208-
209-
* `OVH_CONSUMER_KEY`
210-
211-
You should be able to use any OVHcloud environment to develop on as long as the above environment variables are set.
212189

213190
### Using a locally built terraform-provider-ovh
214191

0 commit comments

Comments
 (0)