You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/index.html.markdown
+4-27Lines changed: 4 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,15 @@ description: |-
8
8
9
9
# OVH Provider
10
10
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.
13
14
14
15
Use the navigation to the left to read about the available resources.
15
16
16
17
## Provider configuration
17
18
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.
20
20
21
21
Besides the API end-point, the required keys are the `application_key`, the `application_secret`, and the `consumer_key`.
22
22
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" {
42
42
}
43
43
```
44
44
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
-
57
45
Alternatively the secret keys can be retrieved from your environment.
58
46
59
47
*`OVH_ENDPOINT`
@@ -198,17 +186,6 @@ variables must also be set:
198
186
199
187
*`OVH_TESTACC_IP` - set this variable to "yes" will order public ip blocks.
200
188
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.
0 commit comments