influxdb_continuous_query
The continuous_query resource allows a continuous query to be created on an InfluxDB server.
Example Usage
resource "influxdb_database" "test" { name = "terraform-test" } resource "influxdb_continuous_query" "minnie" { name = "minnie" database = "${influxdb_database.test.name}" query = "SELECT min(mouse) INTO min_mouse FROM zoo GROUP BY time(30m)" }
Argument Reference
The following arguments are supported:
-
name
- (Required) The name for the continuous_query. This must be unique on the InfluxDB server. -
database
- (Required) The database for the continuous_query. This must be an existing influxdb database. -
query
- (Required) The query for the continuous_query.
Attributes Reference
This resource exports no further attributes.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/influxdb/r/continuous_query.html