github.com/adrian-bl/terraform@v0.7.0-rc2.0.20160705220747-de0a34fc3517/website/source/docs/providers/influxdb/index.html.markdown (about) 1 --- 2 layout: "influxdb" 3 page_title: "Provider: InfluxDB" 4 sidebar_current: "docs-influxdb-index" 5 description: |- 6 The InfluxDB provider configures databases, etc on an InfluxDB server. 7 --- 8 9 # InfluxDB Provider 10 11 The InfluxDB provider allows Terraform to create Databases in 12 [InfluxDB](https://influxdb.com/). InfluxDB is a database server optimized 13 for time-series data. 14 15 The provider configuration block accepts the following arguments: 16 17 * ``url`` - (Optional) The root URL of a InfluxDB server. May alternatively be 18 set via the ``INFLUXDB_URL`` environment variable. Defaults to 19 `http://localhost:8086/`. 20 21 * ``username`` - (Optional) The name of the user to use when making requests. 22 May alternatively be set via the ``INFLUXDB_USERNAME`` environment variable. 23 24 * ``password`` - (Optional) The password to use when making requests. 25 May alternatively be set via the ``INFLUXDB_PASSWORD`` environment variable. 26 27 Use the navigation to the left to read about the available resources. 28 29 ## Example Usage 30 31 ``` 32 provider "influxdb" { 33 url = "http://influxdb.example.com/" 34 username = "terraform" 35 } 36 37 resource "influxdb_database" "metrics" { 38 name = "awesome_app" 39 } 40 ```