planetscalevitessbranch (Data Source)
June 1, 2026 ยท View on GitHub
VitessBranch DataSource
Example Usage
data "planetscale_vitess_branch" "my_vitessbranch" {
database = "...my_database..."
id = "...my_id..."
organization = "...my_organization..."
}
Schema
Required
database(String) Database name slug fromlist_databases. Example:app-db.id(String) The ID of the branchorganization(String) Organization name slug fromlist_organizations. Example:acme.
Read-Only
actor(Attributes) (see below for nested schema)cluster_size(String) The SKU representing the branch's cluster sizehtml_url(String) Planetscale app URL for the branchmysql_address(String) The MySQL address for the branchmysql_edge_address(String) The address of the MySQL provider for the branchname(String) The name of the branchparent_branch(String) The name of the parent branch from which the branch was createdready(Boolean) Whether or not the branch is ready to serve queriesregion_data(Attributes) (see below for nested schema)state(String) The current state of the branchurl(String) Planetscale API URL for the branch
Nested Schema for actor
Read-Only:
id(String) The ID of the actor
Nested Schema for region_data
Read-Only:
id(String) The ID of the regionmysql_supported(Boolean) Whether the region supports MySQL/Vitess databasespostgresql_supported(Boolean) Whether the region supports PostgreSQL databases