github.com/koding/terraform@v0.6.4-0.20170608090606-5d7e0339779d/website/source/docs/providers/ovh/index.html.markdown (about) 1 --- 2 layout: "ovh" 3 page_title: "Provider: OVH" 4 sidebar_current: "docs-ovh-index" 5 description: |- 6 The OVH provider is used to interact with the many resources supported by OVH. The provider needs to be configured with the proper credentials before it can be used. 7 --- 8 9 # OVH Provider 10 11 The OVH provider is used to interact with the 12 many resources supported by OVH. The provider needs to be configured 13 with the proper credentials before it can be used. 14 15 Use the navigation to the left to read about the available resources. 16 17 ## Example Usage 18 19 ``` 20 # Configure the OVH Provider 21 provider "ovh" { 22 endpoint = "ovh-eu" 23 application_key = "yyyyyy" 24 application_secret = "xxxxxxxxxxxxxx" 25 consumer_key = "zzzzzzzzzzzzzz" 26 } 27 28 # Create a public cloud user 29 resource "ovh_publiccloud_user" "user-test" { 30 # ... 31 } 32 ``` 33 34 ## Configuration Reference 35 36 The following arguments are supported: 37 38 * `endpoint` - (Required) Specify which API endpoint to use. 39 It can be set using the OVH_ENDPOINT environment 40 variable. Value can be set to either "ovh-eu" or "ovh-ca". 41 42 * `application_key` - (Required) The API Application Key. If omitted, 43 the `OVH_APPLICATION_KEY` environment variable is used. 44 45 * `application_secret` - (Required) The API Application Secret. If omitted, 46 the `OVH_APPLICATION_SECRET` environment variable is used. 47 48 * `consumer_key` - (Required) The API Consumer key. If omitted, 49 the `OVH_CONSUMER_KEY` environment variable is used. 50 51 52 ## Testing and Development 53 54 In order to run the Acceptance Tests for development, the following environment 55 variables must also be set: 56 57 * `OVH_VRACK` - The id of the vrack to use. 58 59 * `OVH_PUBLIC_CLOUD` - The id of the public cloud project. 60 61 You should be able to use any OVH environment to develop on as long as the 62 above environment variables are set.