Skip to content

Commit

Permalink
Merge pull request #52 from komminarlabs/tk/docs-update
Browse files Browse the repository at this point in the history
chore: updated docs with influxdb flavours
  • Loading branch information
thulasirajkomminar authored Aug 26, 2024
2 parents c7348d5 + 2dbea61 commit 3a13410
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ lint:
docs:
go install github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs
tfplugindocs generate
@echo "Use this site to preview markdown rendering: https://registry.terraform.io/tools/doc-preview"
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,17 @@ provider "influxdb" {
}
```

## Supported InfluxDB flavours

### v3

* [InfluxDB Cloud Serverless](https://www.influxdata.com/products/influxdb-cloud/serverless/)

### v2

* [InfluxDB Cloud TSM](https://docs.influxdata.com/influxdb/cloud/)
* [InfluxDB OSS](https://docs.influxdata.com/influxdb/v2/)

## Available functionalities

### Data Sources
Expand Down
19 changes: 19 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,28 @@ description: |-

Use the InfluxDB provider to deploy and manage resources supported by InfluxDB. You must configure the provider with the proper credentials before you can use it.

## Supported InfluxDB flavours

### v3

* [InfluxDB Cloud Serverless](https://www.influxdata.com/products/influxdb-cloud/serverless/)

### v2

* [InfluxDB Cloud TSM](https://docs.influxdata.com/influxdb/cloud/)
* [InfluxDB OSS](https://docs.influxdata.com/influxdb/v2/)

## Example Usage

```terraform
terraform {
required_providers {
influxdb = {
source = "komminarlabs/influxdb"
}
}
}
provider "influxdb" {}
```

Expand Down
8 changes: 8 additions & 0 deletions examples/provider/provider.tf
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
terraform {
required_providers {
influxdb = {
source = "komminarlabs/influxdb"
}
}
}

provider "influxdb" {}
11 changes: 11 additions & 0 deletions templates/index.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ description: |-

Use the InfluxDB provider to deploy and manage resources supported by InfluxDB. You must configure the provider with the proper credentials before you can use it.

## Supported InfluxDB flavours

### v3

* [InfluxDB Cloud Serverless](https://www.influxdata.com/products/influxdb-cloud/serverless/)

### v2

* [InfluxDB Cloud TSM](https://docs.influxdata.com/influxdb/cloud/)
* [InfluxDB OSS](https://docs.influxdata.com/influxdb/v2/)

## Example Usage

{{tffile "examples/provider/provider.tf"}}
Expand Down

0 comments on commit 3a13410

Please sign in to comment.