ionoscloud_pg_databases
Get information on DBaaS PgSql Databases.
Last updated
Get information on DBaaS PgSql Databases.
The PgSql Databases data source can be used to search for and return multiple existing PgSql databases.
data "ionoscloud_pg_databases" "example" {
cluster_id = "cluster_id"
}data "ionoscloud_pg_databases" "example" {
cluster_id = "cluster_id"
owner = "owner"
}cluster_id - (Required)[string] The ID of the cluster.
owner - (Optional)[string] Filter using a specific owner.
The following attributes are returned by the datasource:
databases - [list] A list that contains either all databases, either some of them (filter by owner). A database from list has the following format:
name - [string] The name of the database.
owner - [string] The owner of the database.
id - [string] The ID of the database.
Last updated
