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

640 B

layout page_title sidebar_current description
influxdb InfluxDB: influxdb_database docs-influxdb-resource-database 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.