Our great sponsors
-
terraform-provider-postgresql
Discontinued As part of our introduction to self-service publishing in the Terraform Registry, this copy of the provider has been archived, and ownership has been transferred to active maintainers in the community. Please see the new location on the Terraform Registry: https://registry.terraform.io/providers/cyrilgdn/postgresql
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I'm not sure Terraform is the right tool, but there are other tools to work somewhat the same. I've heard good things about https://flywaydb.org/ but haven't used it myself.
While HashiCorp did stop working on it and transferred the ownership in November, I can see it's still actively being maintained which is a relief.
There's much better way right now. Atlas is amazing and fills the gap in excellent way. Just learned about it 3 weeks ago and implementing all over the place. This is a devops way to do such stuff https://atlasgo.io/
You can take a look at https://bytebase.com, it has terraform provider for you to manage database connection info and roles (For PG): https://registry.terraform.io/providers/bytebase/bytebase/latest/docs
Related posts
- Using Flyway to version your database
- Strategy to run database scripts on Kubernetes
- I've never created a production database from scratch and am wondering how much trouble it would be to transition a one-to-one relationship to a one-to-many relationship if I determine at some point that the latter is required.
- How should I document and/or automate schema changes?
- When in the CI/CD pipeline do you perform DB migration?