mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-16 19:52:49 -06:00
7630a585a2
* Improve influxdb provider - reduce public funcs. We should not make things public that don't need to be public - improve tests by verifying remote state - add influxdb_user resource allows you to manage influxdb users: ``` resource "influxdb_user" "admin" { name = "administrator" password = "super-secret" admin = true } ``` and also database specific grants: ``` resource "influxdb_user" "ro" { name = "read-only" password = "read-only" grant { database = "a" privilege = "read" } } ``` * Grant/ revoke admin access properly * Add continuous_query resource see https://docs.influxdata.com/influxdb/v0.13/query_language/continuous_queries/ for the details about continuous queries: ``` 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)" } ```
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
<% wrap_layout :inner do %>
|
|
<% content_for :sidebar do %>
|
|
<div class="docs-sidebar hidden-print affix-top" role="complementary">
|
|
<ul class="nav docs-sidenav">
|
|
<li<%= sidebar_current("docs-home") %>>
|
|
<a href="/docs/providers/index.html">« Documentation Home</a>
|
|
</li>
|
|
|
|
<li<%= sidebar_current("docs-influxdb-index") %>>
|
|
<a href="/docs/providers/influxdb/index.html">InfluxDB Provider</a>
|
|
</li>
|
|
|
|
<li<%= sidebar_current(/^docs-influxdb-resource/) %>>
|
|
<a href="#">Resources</a>
|
|
<ul class="nav nav-visible">
|
|
<li<%= sidebar_current("docs-influxdb-resource-database") %>>
|
|
<a href="/docs/providers/influxdb/r/database.html">influxdb_database</a>
|
|
</li>
|
|
<li<%= sidebar_current("docs-influxdb-resource-user") %>>
|
|
<a href="/docs/providers/influxdb/r/user.html">influxdb_user</a>
|
|
</li>
|
|
<li<%= sidebar_current("docs-influxdb-resource-continuous_query") %>>
|
|
<a href="/docs/providers/influxdb/r/continuous_query.html">influxdb_continuous_query</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<% end %>
|
|
|
|
<%= yield %>
|
|
<% end %>
|