terraform/website/source/docs/providers/influxdb/r/database.html.md

31 lines
637 B
Markdown
Raw Normal View History

---
layout: "influxdb"
page_title: "InfluxDB: influxdb_database"
sidebar_current: "docs-influxdb-resource-database"
description: |-
The influxdb_database resource allows an InfluxDB database to be created.
---
# influxdb\_database
The database resource allows a database to be created on an InfluxDB server.
## Example Usage
```
resource "influxdb_database" "metrics" {
name = "awesome_app"
}
```
## Argument Reference
The following arguments are supported:
* `name` - (Required) The name for the database. This must be unique on the
InfluxDB server.
## Attributes Reference
This resource exports no further attributes.