| page_title | planetscale_postgres_branch_role Data Source - terraform-provider-planetscale |
|---|---|
| subcategory | |
| description | PostgresBranchRole DataSource |
PostgresBranchRole DataSource
data "planetscale_postgres_branch_role" "my_postgresbranchrole" {
branch = "...my_branch..."
database = "...my_database..."
id = "...my_id..."
organization = "...my_organization..."
}branch(String) Branch name fromlist_branches. Example:main.database(String) Database name slug fromlist_databases. Example:app-db.id(String) The ID of the roleorganization(String) Organization name slug fromlist_organizations. Example:acme.
access_host_url(String) The database connection stringactor_data(Attributes) (see below for nested schema)branch_data(Attributes) (see below for nested schema)created_at(String) When the role was createddatabase_name(String) The database namedefault(Boolean) Whether the role is the default postgres userdeleted_at(String) When the role was deleteddisabled_at(String) When the role was disableddrop_failed(String) Error message available when dropping the role failsdropped_at(String) When the role was droppedexpired(Boolean) True if the credentials are expiredexpires_at(String) When the role expiresinherited_roles(Set of String) Database roles these credentials inheritname(String) The name of the roleprivate_access_host_url(String) The database connection string for private connectionsprivate_connection_service_name(String) The service name to set up private connectivityquery_safety_settings(Attributes) (see below for nested schema)ttl(Number) Number of seconds before the credentials expireupdated_at(String) When the role was updatedusername(String) The database user name
Read-Only:
avatar_url(String) The URL of the actor's avatardisplay_name(String) The name of the actorid(String) The ID of the actor
Read-Only:
deleted_at(String) When the resource was deleted, if deletedid(String) The ID for the resourcename(String) The name for the resource
Read-Only:
require_where_on_delete(String) Require WHERE clause on DELETE statementsrequire_where_on_update(String) Require WHERE clause on UPDATE statements