📹 The future of AI infrastructure: optimize and shard your database with agents.Watch the talk
Navigation

Create and delete databases via Terraform

You can now create and delete PlanetScale databases directly from your Terraform configuration. Applying a planetscale_postgres_branch or planetscale_vitess_branch creates the parent database if it doesn't already exist. Destroying the last branch in a database deletes the database.

Read more in the docs.