| page_title | planetscale_vitess_branch_password Data Source - terraform-provider-planetscale |
|---|---|
| subcategory | |
| description | VitessBranchPassword DataSource |
VitessBranchPassword DataSource
data "planetscale_vitess_branch_password" "my_vitessbranchpassword" {
branch = "...my_branch..."
database = "...my_database..."
id = "...my_id..."
organization = "...my_organization..."
}branch(String) The name of the branch the password belongs todatabase(String) The name of the database the password belongs toid(String) The ID for the passwordorganization(String) The name of the organization the password belongs to
access_host_regional_url(String) The regional host URLaccess_host_regional_urls(List of String) The read-only replica host URLsaccess_host_url(String) The host URL for the passwordactor(Attributes) (see below for nested schema)cidrs(List of String) List of IP addresses or CIDR ranges that can use this passwordcreated_at(String) When the password was createddatabase_branch(Attributes) (see below for nested schema)deleted_at(String) When the password was deleteddirect_vtgate(Boolean) True if the credentials connect directly to a vtgate, bypassing load balancersdirect_vtgate_addresses(List of String) The list of hosts in each availability zone providing direct access to a vtgateexpired(Boolean) True if the credentials are expiredexpires_at(String) When the password will expirelast_used_at(String) When the password was last used to execute a queryname(String) The display name for the passwordregion(Attributes) (see below for nested schema)renewable(Boolean) Whether or not the password can be renewedreplica(Boolean) Whether or not the password is for a read replicarole(String) The role for the passwordttl_seconds(Number) Time to live (in seconds) for the password. The password will be invalid when TTL has passedusername(String) The username for the password
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:
id(String) The ID for the branchmysql_edge_address(String) The address of the MySQL provider for the branchname(String) The name for the branchprivate_edge_connectivity(Boolean) True if private connectivity is enabledproduction(Boolean) Whether or not the branch is a production branch
Read-Only:
current_default(Boolean) True if the region is the default for new branch creationdisplay_name(String) Name of the regionenabled(Boolean) Whether or not the region is currently activeid(String) The ID of the regionlocation(String) Location of the regionprovider(String) Provider for the region (ex. AWS)public_ip_addresses(List of String) Public IP addresses for the regionslug(String) The slug of the region