terraform-provider-influxdb
terraform-provider-influxdb copied to clipboard
Complete rewrite for Influxdb V2
As Influxdb v2 gets closer and closer to beta I'm wondering how to to approach the provider for that. I see 3 different options for this:
- Would it make sense to have a totally dirferent provider like
github.com/terraform-providers/terraform-provider-influxdbV2 - To have both in parallel with a configuration that switch between the two like:
provider "influxdb" {
url = "http://influxdb.example.com/"
organization = "terraform"
influxdb_version = "2"
}
- or, my favourite, would be to have a "complete rewrite" in place cutting a new major release so people can use the Influxdb V1 provider by using the
version = 1.3.0of the provider and theversion = 2.0.0of the provider for the influxdb V2 server.
Is there a progress on the creation of this provider for influxdb 2.0 ?
One of the suggestion was not to update existing provider, instead write a fresh one. InfluxDB themselves were interested in donating effort of writing this provider. I can check back with them to see if they are going to take this further or OSS community can do it.
We're want to still work on this. But we're also developing our own integration for Dashboard/Alerts/Buckets as code https://github.com/influxdata/community-templates