Terraform provider v1
The PlanetScale Terraform provider is now available. This is a complete rewrite of the v0 provider with first-class support for both Vitess and Postgres databases.
The v1 provider includes four resources:
planetscale_vitess_branchplanetscale_vitess_branch_passwordplanetscale_postgres_branchplanetscale_postgres_branch_role
Along with data sources for reading existing databases, branches, roles, and passwords.
v1 is not backwards compatible with v0. If you're currently using the v0 provider, pin your version to ~> 0.6.1 before migrating. The v0 provider will not receive further updates.