yandex_mdb_greenplum_user (Data Source)
Written by
Updated at September 11, 2025
Get information about a greenplum user.
Example usage
//
// Get information about existing MDB Greenplum database user.
//
data "yandex_mdb_greenplum_user" "my_user" {
cluster_id = "some_cluster_id"
name = "test"
}
output "resource_group" {
value = data.yandex_mdb_greenplum_user.my_user.resource_group
}
Schema
Required
cluster_id(String) The ID of the cluster to which user belongs to.name(String) The name of the user.
Optional
timeouts(Attributes) (see below for nested schema)
Read-Only
id(String) The resource identifier.password(String, Sensitive) The password of the user.resource_group(String) The resource group of the user.
Nested Schema for timeouts
Optional:
create(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).delete(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.update(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).