| page_title | planetscale_postgres_branch Data Source - terraform-provider-planetscale |
|---|---|
| subcategory | |
| description | PostgresBranch DataSource |
PostgresBranch DataSource
data "planetscale_postgres_branch" "my_postgresbranch" {
database = "...my_database..."
id = "...my_id..."
organization = "...my_organization..."
}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.
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 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)replicas(Number) The number of replicas for the branchstate(String) The current state of the branchurl(String) Planetscale API URL for the branch
Read-Only:
id(String) The ID of the actor
Read-Only:
id(String) The ID of the region