cyrilgdn / terraform-provider-postgresql

Terraform PostgreSQL provider
https://www.terraform.io/docs/providers/postgresql/
Mozilla Public License 2.0
359 stars 182 forks source link

[Feature Request] : support for Yugabyte #273

Open arminfelder opened 1 year ago

arminfelder commented 1 year ago

would be nice to see full support for Yugabyte as well. Yugabyte uses original Postgres binaries for the SQL layer, but enables sharding, through using a RocksDB as storage backend.

At the moment, the creation/deletion of databases works fine, but Schemas and Extensions ressources, do behave strange

nodakai commented 7 months ago

When I ran a Pulumi provider which wraps this Terraform provider on my YugabyteDB deployment, I encountered the following error

* error detecting capabilities: error parsing version: Invalid character(s) found in minor number "2-YB-2"

because of

show server_version;

11.2-YB-2.20.0.0-b0

I was able to bypass this issue by setting 11.2 as the postgresql:expected_version