Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Terraform in Yandex Cloud
  • Getting started
  • Solution library
    • Overview
    • Release notes
          • mdb_redis_cluster
          • mdb_redis_cluster_v2
          • mdb_redis_user

In this article:

  • Example usage
  • Schema
  • Required
  • Optional
  • Read-Only
  • Nested Schema for timeouts
  • Nested Schema for permissions
  1. Terraform reference
  2. Resources
  3. Managed Service for Redis
  4. Data Sources
  5. mdb_redis_user

yandex_mdb_redis_user (Data Source)

Written by
Yandex Cloud
Updated at September 11, 2025
  • Example usage
  • Schema
    • Required
    • Optional
    • Read-Only
    • Nested Schema for timeouts
    • Nested Schema for permissions

Manages a Redis user within the Yandex Cloud. For more information, see the official documentation.

Example usageExample usage

//
// Get information about existing MDB Redis User.
//
data "yandex_mdb_redis_user" "my_user" {
  cluster_id = "some_cluster_id"
  name       = "test"
}

output "permissions" {
  value = data.yandex_mdb_redis_user.my_user.permissions
}

SchemaSchema

RequiredRequired

  • cluster_id (String) The ID of the cluster to which user belongs to.
  • name (String) The name of the user.

OptionalOptional

  • timeouts (Attributes) (see below for nested schema)

Read-OnlyRead-Only

  • acl_options (String) Raw ACL string which has been inserted into the Redis
  • enabled (Boolean) Is redis user enabled.
  • id (String) The resource identifier.
  • passwords (Set of String, Sensitive) Set of user passwords
  • permissions (Attributes) Set of permissions granted to the user. (see below for nested schema)

Nested Schema for 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).

Nested Schema for Nested Schema for permissions

Read-Only:

  • categories (String) Command categories user has permissions to.
  • commands (String) Commands user can execute.
  • patterns (String) Keys patterns user has permission to.
  • pub_sub_channels (String) Channel patterns user has permissions to.
  • sanitize_payload (String) SanitizePayload parameter.

Was the article helpful?

Previous
mdb_redis_cluster_v2
Next
mdb_redis_cluster
© 2025 Direct Cursus Technology L.L.C.